Completed
Push — master ( 5c2100...1b2de0 )
by Laurynas
47:44 queued 03:50
created
tests/Submission/EntryTest.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@  discard block
 block discarded – undo
12 12
         self::setExpectedException("\\Qualia\\Exceptions\\RequestException");
13 13
 
14 14
         Entry::build(new Client('597768e728d8f1508f6d9f62', 'invalid-credentials'))
15
-                     ->email('q_tVabQ3cUlwZTgQ10', '[email protected]')
16
-                     ->send();
15
+                        ->email('q_tVabQ3cUlwZTgQ10', '[email protected]')
16
+                        ->send();
17 17
 
18 18
     }
19 19
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
         self::setExpectedException("InvalidArgumentException");
23 23
 
24 24
         Entry::build($this->client)
25
-             ->send();
25
+                ->send();
26 26
     }
27 27
 
28 28
     public function allowsOnlyCorrectDateNotUnixTime()
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
32 32
         $id = uniqid('', true);
33 33
 
34 34
         Entry::build($this->client)
35
-             ->uniqueId($id)
36
-             ->date('q_1J75WdyBwVpwlJUM', time())
37
-             ->send();
35
+                ->uniqueId($id)
36
+                ->date('q_1J75WdyBwVpwlJUM', time())
37
+                ->send();
38 38
     }
39 39
 
40 40
     public function allowsOnlyCorrectDate()
@@ -42,8 +42,8 @@  discard block
 block discarded – undo
42 42
         self::setExpectedException("InvalidArgumentException");
43 43
 
44 44
         Entry::build($this->client)
45
-             ->date('q_1J75WdyBwVpwlJUM', 'invalid')
46
-             ->send();
45
+                ->date('q_1J75WdyBwVpwlJUM', 'invalid')
46
+                ->send();
47 47
     }
48 48
 
49 49
     public function testCreatesEntryWithEmail()
@@ -51,9 +51,9 @@  discard block
 block discarded – undo
51 51
         $id = uniqid('', true);
52 52
 
53 53
         $response = Entry::build($this->client)
54
-             ->uniqueId($id)
55
-             ->email('q_3RYJ4MpggyMFuU50', $id."[email protected]")
56
-             ->send();
54
+                ->uniqueId($id)
55
+                ->email('q_3RYJ4MpggyMFuU50', $id."[email protected]")
56
+                ->send();
57 57
 
58 58
         self::assertEquals('success', $response['message']);
59 59
         self::assertArrayHasKey('id', $response);
@@ -64,9 +64,9 @@  discard block
 block discarded – undo
64 64
         $id = uniqid('', true);
65 65
 
66 66
         $response = Entry::build($this->client)
67
-                         ->email('q_3RYJ4MpggyMFuU50', $id."[email protected]")
68
-                         ->response('q_tVabQ3cUlwZTgQ10', 'o_ACvo61cUuKXxD5C1')
69
-                         ->send();
67
+                            ->email('q_3RYJ4MpggyMFuU50', $id."[email protected]")
68
+                            ->response('q_tVabQ3cUlwZTgQ10', 'o_ACvo61cUuKXxD5C1')
69
+                            ->send();
70 70
 
71 71
         self::assertEquals('success', $response['message']);
72 72
         self::assertArrayHasKey('id', $response);
@@ -77,12 +77,12 @@  discard block
 block discarded – undo
77 77
         $id = uniqid('', true);
78 78
 
79 79
         $response = Entry::build($this->client)
80
-             ->uniqueId($id)
81
-             ->email('q_3RYJ4MpggyMFuU50', $id."[email protected]")
82
-             ->name('q_KCyzOs7VqevWbEO0', "Unit", "Tester")
83
-             ->date('q_1J75WdyBwVpwlJUM', date('Y-m-d'))
84
-             ->response('q_KCyzOs7VqevWbEO0', ['o_wCcuY5a54YBeXLC1', 'o_ACvo61cUuKXxD5C1'])
85
-             ->send();
80
+                ->uniqueId($id)
81
+                ->email('q_3RYJ4MpggyMFuU50', $id."[email protected]")
82
+                ->name('q_KCyzOs7VqevWbEO0', "Unit", "Tester")
83
+                ->date('q_1J75WdyBwVpwlJUM', date('Y-m-d'))
84
+                ->response('q_KCyzOs7VqevWbEO0', ['o_wCcuY5a54YBeXLC1', 'o_ACvo61cUuKXxD5C1'])
85
+                ->send();
86 86
 
87 87
         self::assertEquals('success', $response['message']);
88 88
         self::assertArrayHasKey('id', $response);
@@ -93,9 +93,9 @@  discard block
 block discarded – undo
93 93
         $id = uniqid('', true);
94 94
 
95 95
         $response = Entry::build($this->client)
96
-             ->uniqueId($id)
97
-             ->email('q_3RYJ4MpggyMFuU50', $id."[email protected]")
98
-             ->send(true);
96
+                ->uniqueId($id)
97
+                ->email('q_3RYJ4MpggyMFuU50', $id."[email protected]")
98
+                ->send(true);
99 99
 
100 100
         self::assertEquals('success', $response['message']);
101 101
         self::assertArrayHasKey('id', $response);
Please login to merge, or discard this patch.