Passed
Push — master ( 5091bf...3746cb )
by Robbie
04:28
created
tests/Model/BrokenExternalLinkTest.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -7,29 +7,29 @@
 block discarded – undo
7 7
 
8 8
 class BrokenExternalLinkTest extends SapphireTest
9 9
 {
10
-    /**
11
-     * @param int $httpCode
12
-     * @param string $expected
13
-     * @dataProvider httpCodeProvider
14
-     */
15
-    public function testGetHTTPCodeDescription($httpCode, $expected)
16
-    {
17
-        $link = new BrokenExternalLink();
18
-        $link->HTTPCode = $httpCode;
19
-        $this->assertSame($expected, $link->getHTTPCodeDescription());
20
-    }
10
+	/**
11
+	 * @param int $httpCode
12
+	 * @param string $expected
13
+	 * @dataProvider httpCodeProvider
14
+	 */
15
+	public function testGetHTTPCodeDescription($httpCode, $expected)
16
+	{
17
+		$link = new BrokenExternalLink();
18
+		$link->HTTPCode = $httpCode;
19
+		$this->assertSame($expected, $link->getHTTPCodeDescription());
20
+	}
21 21
 
22
-    /**
23
-     * @return array[]
24
-     */
25
-    public function httpCodeProvider()
26
-    {
27
-        return [
28
-            [200, '200 (OK)'],
29
-            [302, '302 (Found)'],
30
-            [404, '404 (Not Found)'],
31
-            [500, '500 (Internal Server Error)'],
32
-            [789, '789 (Unknown Response Code)'],
33
-        ];
34
-    }
22
+	/**
23
+	 * @return array[]
24
+	 */
25
+	public function httpCodeProvider()
26
+	{
27
+		return [
28
+			[200, '200 (OK)'],
29
+			[302, '302 (Found)'],
30
+			[404, '404 (Not Found)'],
31
+			[500, '500 (Internal Server Error)'],
32
+			[789, '789 (Unknown Response Code)'],
33
+		];
34
+	}
35 35
 }
Please login to merge, or discard this patch.