Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Fargekritt committed Jan 21, 2025
1 parent 837b133 commit 156d3da
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,12 @@ public async Task Search_Dialog_Returns_200()

var dateOffset = DateTimeOffset.UtcNow;
var createDialogCommand = CreateCommand();
createDialogCommand.SystemLabel = DialogEndUserContextsEntities_SystemLabel.Bin;
var dialogId = await CreateDialog(createDialogCommand);
var param = new V1ServiceOwnerDialogsSearchSearchDialogQueryParams
{
CreatedAfter = dateOffset
CreatedAfter = dateOffset,
SystemLabel = [DialogEndUserContextsEntities_SystemLabel.Bin]
};
var searchResponse = await fixture.DialogportenClient.V1ServiceOwnerDialogsSearchSearchDialog(param, CancellationToken.None);
Assert.Equal(HttpStatusCode.OK, searchResponse.StatusCode);
Expand All @@ -197,7 +199,8 @@ public async Task Search_Multiple_Dialogs()
}
var param = new V1ServiceOwnerDialogsSearchSearchDialogQueryParams
{
CreatedAfter = dateOffset
CreatedAfter = dateOffset,
SystemLabel = [DialogEndUserContextsEntities_SystemLabel.Default]
};
var searchResponse = await fixture.DialogportenClient.V1ServiceOwnerDialogsSearchSearchDialog(param, CancellationToken.None);
Assert.Equal(HttpStatusCode.OK, searchResponse.StatusCode);
Expand Down

0 comments on commit 156d3da

Please sign in to comment.