You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e5c058e
Browse filesBrowse the repository at this point in the historyBrowse files
Named the persisted query constants and the media type in the tests
The tests take the error message, its code, the cache directive and the
query string parameter from `PersistedQueries` and the media type from
`MediaTypeNames` instead of spelling them out again, and assert with
`Assert.Equal` and `Assert.Single` instead of `Assert.True` on a comparison.
The error extensions are built with `kvpObj` and without an upcast.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@@ -301,11 +300,8 @@ let ``Multipart POST operation is executed as before`` () : Task = task {
301
300
302
301
let!outcome= handler.HandleAsync ()
303
302
304
-
Assert.True (
305
-
(recorder.OperationCalls.Count =1),
306
-
$"Expected the operation of a multipart request to be executed once, but ExecuteOperation was called %d{recorder.OperationCalls.Count} time(s); outcome: %A{outcome}"
@@ -349,11 +345,8 @@ let ``POST operation whose extensions do not ask for a persisted query is execut
349
345
350
346
let!outcome= handler.HandleAsync ()
351
347
352
-
Assert.True (
353
-
(recorder.OperationCalls.Count =1),
354
-
$"Expected the operation to be executed once despite extensions %s{extensions}, but ExecuteOperation was called %d{recorder.OperationCalls.Count} time(s)"
0 commit comments