Completed
Push — AUTOMATED_TESTING ( 49945f...06d095 )
by Gordon
05:14
created
tests/PageControllerTemplateOverrideExtensionTest.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.