Skip to content

Commit

Permalink
chore: add test to cover not sending empty array when other has data
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Feb 12, 2024
1 parent 5d02e94 commit 14218b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OpenFga.Sdk.Test/Client/OpenFgaClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@ public async Task WriteWriteTest() {
Object = "document:roadmap",
}
},
Deletes = new List<ClientTupleKeyWithoutCondition>(), // should not get passed
};
var response = await fgaClient.Write(body, new ClientWriteOptions {
AuthorizationModelId = "01GXSA8YR785C4FYS3C0RTG7B1",
Expand Down

0 comments on commit 14218b7

Please sign in to comment.