Skip to content

Commit c561aae

Browse files
author
patryk.bujalla
committed
add secound level where working example
1 parent 799c985 commit c561aae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PortaCapena.OdooJsonRpcClient.Example/OdooRepositoryRequests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ public async Task Can_get_product_with_deep_where()
4949
}
5050

5151
[Fact]
52-
public async Task Can_get_product_with_deep_secound_where()
52+
public async Task Can_get_product_with_deep_secound_level_where()
5353
{
5454
var repository = new OdooRepository<ProductProductOdooDto>(Config);
5555

5656
var products = await repository.Query()
57-
.Where<AccountAccountOdooModel, AccountAccountTypeOdooModel>(x => x.PropertyAccountIncomeId, x => x.UserTypeId, x => x.Type, OdooOperator.EqualsTo, TypeAccountAccountTypeOdooEnum.Payable)
57+
.Where<AccountAccountOdooModel, AccountAccountTypeOdooModel>(x => x.PropertyAccountIncomeId, x => x.UserTypeId, x => x.Type, OdooOperator.EqualsTo, TypeAccountAccountTypeOdooEnum.Regular)
5858
.ToListAsync();
5959

6060
products.Error.Should().BeNull();

0 commit comments

Comments
 (0)