@@ -11,11 +11,11 @@ discard block |
||
11 | 11 | $page->write(); |
12 | 12 | $page->doPublish(); |
13 | 13 | $response = $this->get('/' . $page->URLSegment); |
14 | - $this->assertEquals(200, $response->getStatusCode()); |
|
14 | + $this->assertEquals(200, $response->getStatusCode()); |
|
15 | 15 | |
16 | - // assert the the inner layout template has been used |
|
17 | - $this->assertExactMatchBySelector("div.marker", array( |
|
18 | - "INNER LAYOUT" |
|
16 | + // assert the the inner layout template has been used |
|
17 | + $this->assertExactMatchBySelector("div.marker", array( |
|
18 | + "INNER LAYOUT" |
|
19 | 19 | )); |
20 | 20 | } |
21 | 21 | |
@@ -27,11 +27,11 @@ discard block |
||
27 | 27 | $page->write(); |
28 | 28 | $page->doPublish(); |
29 | 29 | $response = $this->get('/' . $page->URLSegment); |
30 | - $this->assertEquals(200, $response->getStatusCode()); |
|
30 | + $this->assertEquals(200, $response->getStatusCode()); |
|
31 | 31 | |
32 | - // show the the outer layout template has been used |
|
33 | - $this->assertExactMatchBySelector("div.marker", array( |
|
34 | - "OUTER OF LAYOUT" |
|
32 | + // show the the outer layout template has been used |
|
33 | + $this->assertExactMatchBySelector("div.marker", array( |
|
34 | + "OUTER OF LAYOUT" |
|
35 | 35 | )); |
36 | 36 | } |
37 | 37 | |
@@ -43,10 +43,10 @@ discard block |
||
43 | 43 | $page->write(); |
44 | 44 | $page->doPublish(); |
45 | 45 | $response = $this->get('/' . $page->URLSegment); |
46 | - $this->assertEquals(200, $response->getStatusCode()); |
|
47 | - $body = $response->getBody(); |
|
48 | - $this->assertNotContains('OUTER OF LAYOUT', $body); |
|
49 | - $this->assertNotContains('INNER LAYOUT', $body); |
|
46 | + $this->assertEquals(200, $response->getStatusCode()); |
|
47 | + $body = $response->getBody(); |
|
48 | + $this->assertNotContains('OUTER OF LAYOUT', $body); |
|
49 | + $this->assertNotContains('INNER LAYOUT', $body); |
|
50 | 50 | } |
51 | 51 | |
52 | 52 |