Completed
Push — master ( 06d023...3ff15e )
by Gordon
13:07 queued 09:14
created
code/IndexLastEditedExtension.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 class IndexLastEditedExtension extends DataExtension {
4
-	private static $indexes = array(
5
-		'LastEdited' => true
6
-	);
4
+    private static $indexes = array(
5
+        'LastEdited' => true
6
+    );
7 7
 }
Please login to merge, or discard this patch.
tests/IndexLastEditedExtensionTest.php 1 patch
Indentation   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -2,43 +2,43 @@
 block discarded – undo
2 2
 
3 3
 class IndexLastEditedExtensionTest extends FunctionalTest {
4 4
 
5
-	public function testGroupLastEditedIsIndexed() {
6
-		$group = new Group();
7
-		$indexes = $group->databaseIndexes();
8
-		$this->assertEquals(
9
-			array(
10
-				'LastEdited' => true,
11
-				'ClassName' => true,
12
-				'ParentID' => true
13
-			),
14
-			$indexes
15
-		);
16
-	}
5
+    public function testGroupLastEditedIsIndexed() {
6
+        $group = new Group();
7
+        $indexes = $group->databaseIndexes();
8
+        $this->assertEquals(
9
+            array(
10
+                'LastEdited' => true,
11
+                'ClassName' => true,
12
+                'ParentID' => true
13
+            ),
14
+            $indexes
15
+        );
16
+    }
17 17
 
18
-	public function testMemberLastEditedIsIndexed() {
19
-		$member = new Member();
20
-		$indexes = $member->databaseIndexes();
21
-		$this->assertEquals(
22
-			array(
23
-				'Email' => true,
24
-				'LastEdited' => true,
25
-				'ClassName' => true
26
-			),
27
-			$indexes
28
-		);
29
-	}
18
+    public function testMemberLastEditedIsIndexed() {
19
+        $member = new Member();
20
+        $indexes = $member->databaseIndexes();
21
+        $this->assertEquals(
22
+            array(
23
+                'Email' => true,
24
+                'LastEdited' => true,
25
+                'ClassName' => true
26
+            ),
27
+            $indexes
28
+        );
29
+    }
30 30
 
31
-	public function testSiteTreeLastEditedIsIndexed() {
32
-		$st = new SiteTree();
33
-		$indexes = $st->databaseIndexes();
34
-		$this->assertEquals(
35
-			array(
36
-				'ParentID' => true,
37
-				'URLSegment' => true,
38
-				'LastEdited' => true,
39
-				'ClassName' => true
40
-			),
41
-			$indexes
42
-		);
43
-	}
31
+    public function testSiteTreeLastEditedIsIndexed() {
32
+        $st = new SiteTree();
33
+        $indexes = $st->databaseIndexes();
34
+        $this->assertEquals(
35
+            array(
36
+                'ParentID' => true,
37
+                'URLSegment' => true,
38
+                'LastEdited' => true,
39
+                'ClassName' => true
40
+            ),
41
+            $indexes
42
+        );
43
+    }
44 44
 }
Please login to merge, or discard this patch.