Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jfilla committed Oct 17, 2019
1 parent 7dc23ca commit 6486e8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/app/src/Presenters/templates/Example/textResponse.latte
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
layout

Hello there!
2 changes: 1 addition & 1 deletion tests/app/tests/Presenters/ExamplePresenterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ExamplePresenterTest extends PresenterTestCase

public function testTextResponse(): void
{
$this->assertEquals(
$this->assertStringContainsString(
'Hello there!',
$this->extractTextResponseContent(
$this->runPresenter(new PresenterRequest(ExamplePresenter::class, 'textResponse'))
Expand Down

0 comments on commit 6486e8e

Please sign in to comment.