Skip to content

Commit 94ff943

Browse files
feature(#20): this commit renames the argument variable in the lambda expression
1 parent 9944bff commit 94ff943

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Applications/Backend/Tests/Integration/Endpoints/ClientEndpointTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ public async Task WhenPutClientsWithValidData_ShouldUpdateClientSuccessfully()
162162

163163
/* arrange: prepare request to update client */
164164
var payload = _fixture.Build<ClientUpdateScheme>()
165-
.With(update => update.Name, $"updated-client-{Guid.NewGuid()}")
166-
.With(update => update.Flows, [Grant.AuthorizationCode])
167-
.With(update => update.RedirectUris, ["https://localhost/callback"])
165+
.With(client => client.Name, $"updated-client-{Guid.NewGuid()}")
166+
.With(client => client.Flows, [Grant.AuthorizationCode])
167+
.With(client => client.RedirectUris, ["https://localhost/callback"])
168168
.Create();
169169

170170
/* act: send PUT request to update client */

0 commit comments

Comments
 (0)