Skip to content

Commit a009107

Browse files
committed
Assert
1 parent 6da3934 commit a009107

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,21 @@ We already configured the script, just run the command:
185185
composer test
186186
```
187187

188+
For test coverage format, run the command:
189+
```bash
190+
composer test-coverage
191+
```
192+
For code analyse, run the command:
193+
194+
```bash
195+
composer analyse
196+
```
197+
For code format, run the command:
198+
199+
```bash
200+
composer format
201+
```
202+
188203
## Changelog
189204

190205
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
},
5151
"scripts": {
5252
"analyse": "vendor/bin/phpstan analyse",
53-
"test": "./vendor/bin/testbench package:test --parallel --no-coverage",
53+
"test": "./vendor/bin/testbench package:test --no-coverage",
5454
"test-coverage": "vendor/bin/phpunit --coverage-html coverage",
5555
"format": "vendor/bin/pint"
5656
},

tests/QueueTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
use palPalani\SqsQueueReader\Jobs\DispatcherJob;
88
use palPalani\SqsQueueReader\Sqs\Queue;
99

10+
use function PHPUnit\Framework\assertTrue;
11+
1012
/**
1113
* Class QueueTest
1214
*/
@@ -35,5 +37,7 @@ public function class_named_is_derived_from_queue_name(): void
3537
$method->setAccessible(true);
3638

3739
$method->invokeArgs($queue, [$job]);
40+
41+
assertTrue(true);
3842
}
3943
}

0 commit comments

Comments
 (0)