Skip to content

Commit

Permalink
Merge pull request #77 from Tyrsson/controller-test-fix
Browse files Browse the repository at this point in the history
Fixes wrong assertions in the controller test class
  • Loading branch information
Xerkus committed Nov 27, 2023
2 parents 66c5f7b + 1fd660a commit 5dd0786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/Application/test/Controller/IndexControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function testIndexActionCanBeAccessed(): void
public function testIndexActionViewModelTemplateRenderedWithinLayout(): void
{
$this->dispatch('/', 'GET');
$this->assertQuery('.container .jumbotron');
$this->assertQuery('body h1');
}

public function testInvalidRouteDoesNotCrash(): void
Expand Down

0 comments on commit 5dd0786

Please sign in to comment.