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
Copy file name to clipboardExpand all lines: tests/PhpRendererTest.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ public function testLayout() {
125
125
126
126
$newResponse->getBody()->rewind();
127
127
128
-
$this->assertEquals("<html><head><title>Hello - My App</title></head><body>Hi</body></html>", $newResponse->getBody()->getContents());
128
+
$this->assertEquals("<html><head><title>Hello - My App</title></head><body>Hi<footer>This is the footer</footer></body></html>", $newResponse->getBody()->getContents());
129
129
}
130
130
131
131
publicfunctiontestLayoutConstructor() {
@@ -139,7 +139,7 @@ public function testLayoutConstructor() {
139
139
140
140
$newResponse->getBody()->rewind();
141
141
142
-
$this->assertEquals("<html><head><title>Hello - My App</title></head><body>Hi</body></html>", $newResponse->getBody()->getContents());
142
+
$this->assertEquals("<html><head><title>Hello - My App</title></head><body>Hi<footer>This is the footer</footer></body></html>", $newResponse->getBody()->getContents());
143
143
}
144
144
145
145
publicfunctiontestExceptionInLayout() {
@@ -198,6 +198,6 @@ public function testContentDataKeyShouldBeIgnored() {
198
198
199
199
$newResponse->getBody()->rewind();
200
200
201
-
$this->assertEquals("<html><head><title>Hello - My App</title></head><body>Hi</body></html>", $newResponse->getBody()->getContents());
201
+
$this->assertEquals("<html><head><title>Hello - My App</title></head><body>Hi<footer>This is the footer</footer></body></html>", $newResponse->getBody()->getContents());
0 commit comments