Skip to content

Commit 5cafbe6

Browse files
committed
fix tests
1 parent a7baef2 commit 5cafbe6

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎tests/Trigger/BlackBoxTest.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function($command) use (&$count) {
143143
$this->assertSame(
144144
match ($count) {
145145
0 => "php 'blackbox.php'",
146-
1 => "say 'BlackBox : ok'",
146+
1 => "say '-v' 'Daniel' 'BlackBox : ok'",
147147
},
148148
$command->toString(),
149149
);
@@ -275,7 +275,7 @@ function($command) use (&$count) {
275275
$this->assertSame(
276276
match ($count) {
277277
0 => "php 'blackbox.php'",
278-
1 => "say 'BlackBox : ok'",
278+
1 => "say '-v' 'Daniel' 'BlackBox : ok'",
279279
},
280280
$command->toString(),
281281
);
@@ -346,7 +346,7 @@ function($command) use (&$count) {
346346
$this->assertSame(
347347
match ($count) {
348348
0 => "php 'blackbox.php'",
349-
1 => "say 'BlackBox : failing'",
349+
1 => "say '-v' 'Daniel' 'BlackBox : failing'",
350350
},
351351
$command->toString(),
352352
);

‎tests/Trigger/CodingStandardTest.php‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function($command) use (&$count) {
171171
$this->assertSame(
172172
match ($count) {
173173
0 => "vendor/bin/php-cs-fixer 'fix' '--diff' '--dry-run' '--diff-format' 'udiff'",
174-
1 => "say 'Coding Standard : right'",
174+
1 => "say '-v' 'Daniel' 'Coding Standard : right'",
175175
},
176176
$command->toString(),
177177
);
@@ -249,7 +249,7 @@ function($command) use (&$count) {
249249
$this->assertSame(
250250
match ($count) {
251251
0 => "vendor/bin/php-cs-fixer 'fix' '--diff' '--dry-run' '--diff-format' 'udiff'",
252-
1 => "say 'Coding Standard : right'",
252+
1 => "say '-v' 'Daniel' 'Coding Standard : right'",
253253
},
254254
$command->toString(),
255255
);
@@ -320,7 +320,7 @@ function($command) use (&$count) {
320320
$this->assertSame(
321321
match ($count) {
322322
0 => "vendor/bin/php-cs-fixer 'fix' '--diff' '--dry-run'",
323-
1 => "say 'Coding Standard : right'",
323+
1 => "say '-v' 'Daniel' 'Coding Standard : right'",
324324
},
325325
$command->toString(),
326326
);
@@ -397,7 +397,7 @@ function($command) use (&$count) {
397397
$this->assertSame(
398398
match ($count) {
399399
0 => "vendor/bin/php-cs-fixer 'fix' '--diff' '--dry-run' '--diff-format' 'udiff'",
400-
1 => "say 'Coding Standard : wrong'",
400+
1 => "say '-v' 'Daniel' 'Coding Standard : wrong'",
401401
},
402402
$command->toString(),
403403
);

‎tests/Trigger/PsalmTest.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function($command) use (&$count) {
152152
$this->assertSame(
153153
match ($count) {
154154
0 => "vendor/bin/psalm '--no-cache' '--php-version=$major.$minor'",
155-
1 => "say 'Psalm : ok'",
155+
1 => "say '-v' 'Daniel' 'Psalm : ok'",
156156
},
157157
$command->toString(),
158158
);
@@ -233,7 +233,7 @@ function($command) use (&$count) {
233233
$this->assertSame(
234234
match ($count) {
235235
0 => "vendor/bin/psalm '--no-cache' '--php-version=$major.$minor'",
236-
1 => "say 'Psalm : ok'",
236+
1 => "say '-v' 'Daniel' 'Psalm : ok'",
237237
},
238238
$command->toString(),
239239
);
@@ -306,7 +306,7 @@ function($command) use (&$count) {
306306
$this->assertSame(
307307
match ($count) {
308308
0 => "vendor/bin/psalm '--no-cache' '--php-version=$major.$minor'",
309-
1 => "say 'Psalm : failing'",
309+
1 => "say '-v' 'Daniel' 'Psalm : failing'",
310310
},
311311
$command->toString(),
312312
);

‎tests/Trigger/TestsTest.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function($command) use (&$count) {
140140
$this->assertSame(
141141
match ($count) {
142142
0 => "vendor/bin/phpunit '--colors=always' '--fail-on-warning'",
143-
1 => "say 'PHPUnit : ok'",
143+
1 => "say '-v' 'Daniel' 'PHPUnit : ok'",
144144
},
145145
$command->toString(),
146146
);
@@ -274,7 +274,7 @@ function($command) use (&$count) {
274274
$this->assertSame(
275275
match ($count) {
276276
0 => "vendor/bin/phpunit '--colors=always' '--fail-on-warning'",
277-
1 => "say 'PHPUnit : ok'",
277+
1 => "say '-v' 'Daniel' 'PHPUnit : ok'",
278278
},
279279
$command->toString(),
280280
);
@@ -345,7 +345,7 @@ function($command) use (&$count) {
345345
$this->assertSame(
346346
match ($count) {
347347
0 => "vendor/bin/phpunit '--colors=always' '--fail-on-warning'",
348-
1 => "say 'PHPUnit : failing'",
348+
1 => "say '-v' 'Daniel' 'PHPUnit : failing'",
349349
},
350350
$command->toString(),
351351
);

0 commit comments

Comments
 (0)