File tree 3 files changed +16
-24
lines changed
3 files changed +16
-24
lines changed Original file line number Diff line number Diff line change 20
20
"require" : {
21
21
"php" : " ^7.4" ,
22
22
"ext-json" : " *" ,
23
- "guzzlehttp/guzzle" : " ^6.3" ,
23
+ "guzzlehttp/guzzle" : " ^6.3|^7.0 " ,
24
24
"illuminate/bus" : " ^5.8|^6.0|^7.0|^8.0" ,
25
25
"illuminate/queue" : " ^5.8|^6.0|^7.0|^8.0" ,
26
26
"illuminate/support" : " ^5.8|^6.0|^7.0|^8.0"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit bootstrap =" vendor/autoload.php"
3
- backupGlobals =" false"
4
- backupStaticAttributes =" false"
5
- colors =" true"
6
- verbose =" true"
7
- convertErrorsToExceptions =" true"
8
- convertNoticesToExceptions =" true"
9
- convertWarningsToExceptions =" true"
10
- processIsolation =" false"
11
- stopOnFailure =" false" >
12
- <testsuites >
13
- <testsuite name =" Spatie Test Suite" >
14
- <directory >tests</directory >
15
- </testsuite >
16
- </testsuites >
17
- <php >
18
- <env name =" QUEUE_CONNECTION" value =" database" />
19
- </php >
20
- <filter >
21
- <whitelist >
22
- <directory suffix =" .php" >src/</directory >
23
- </whitelist >
24
- </filter >
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" bootstrap =" vendor/autoload.php" backupGlobals =" false" backupStaticAttributes =" false" colors =" true" verbose =" true" convertErrorsToExceptions =" true" convertNoticesToExceptions =" true" convertWarningsToExceptions =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
3
+ <coverage >
4
+ <include >
5
+ <directory suffix =" .php" >src/</directory >
6
+ </include >
7
+ </coverage >
8
+ <testsuites >
9
+ <testsuite name =" Spatie Test Suite" >
10
+ <directory >tests</directory >
11
+ </testsuite >
12
+ </testsuites >
13
+ <php >
14
+ <env name =" QUEUE_CONNECTION" value =" database" />
15
+ </php >
25
16
</phpunit >
Original file line number Diff line number Diff line change @@ -207,6 +207,7 @@ public function it_sets_the_error_fields_on_connection_failure()
207
207
$ this ->baseWebhook ()->dispatch ();
208
208
209
209
$ this ->artisan ('queue:work --once ' );
210
+
210
211
Event::assertDispatched (WebhookCallFailedEvent::class, function (WebhookCallFailedEvent $ event ) {
211
212
$ this ->assertNotNull ($ event ->errorType );
212
213
$ this ->assertNotNull ($ event ->errorMessage );
You can’t perform that action at this time.
0 commit comments