Skip to content

Commit

Permalink
Uses the JSON-specific request method to signify this endpoint is exp…
Browse files Browse the repository at this point in the history
…ecting to return JSON
  • Loading branch information
craigpaul committed Nov 26, 2023
1 parent 2e0b98d commit 0dc81cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CanRetrieveWorkflowNamespacesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class CanRetrieveWorkflowNamespacesTest extends TestCase
public function testCanRetrieveExistingWorkflowNamespaces()
{
$this->withoutExceptionHandling()
->get(route('blitz.workflows'))
->getJson(route('blitz.workflows'))
->assertOk()
->assertJsonCount(1)
->assertJson(fn (AssertableJson $json) => $json->where('0', 'Tests\\Blitz\\ExampleTest'));
Expand Down

0 comments on commit 0dc81cb

Please sign in to comment.