Skip to content

Commit

Permalink
test: fix expected test result against demo dataset, added parametric…
Browse files Browse the repository at this point in the history
… way to set docker image tag to use in tests
  • Loading branch information
tpz committed May 15, 2024
1 parent b178f53 commit c9b941f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion EvitaDB.Test/SetupFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ public class SetupFixture : BaseSetupFixture
private const int GrpcPort = 5556;
private const int SystemApiPort = 5557;
private const string Host = "localhost";
private const string ImageName = "evitadb/evitadb:latest";
private const string ImageName = $"evitadb/evitadb:{ImageVersion}";
private const string ImageVersion = "canary";

public override Task<EvitaClient> GetClient()
{
Expand Down
2 changes: 1 addition & 1 deletion EvitaDB.Test/Tests/EvitaClientDemoQueryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,6 @@ public void ShouldBeAbleToExecuteComplexQueryAndGetResults()
)
);

Assert.True(evitaEntityResponse.RecordData.Count > 0);
Assert.True(evitaEntityResponse.RecordData.Count == 0);
}
}

0 comments on commit c9b941f

Please sign in to comment.