File tree 3 files changed +13
-17
lines changed
3 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 4
4
.php-cs-fixer.cache
5
5
composer.lock
6
6
coverage
7
+ .phpunit.cache
7
8
.phpunit.result.cache
8
9
phpunit.xml
9
10
.idea
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit backupGlobals =" false"
3
- backupStaticAttributes =" false"
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
4
+ backupGlobals =" false"
5
+ backupStaticProperties =" false"
4
6
beStrictAboutTestsThatDoNotTestAnything =" false"
5
- bootstrap = " vendor/autoload.php "
7
+ cacheDirectory = " .phpunit.cache "
6
8
colors =" true"
7
- convertErrorsToExceptions =" true"
8
- convertNoticesToExceptions =" true"
9
- convertWarningsToExceptions =" true"
10
- failOnRisky =" true"
11
- failOnWarning =" true"
12
9
processIsolation =" false"
13
10
stopOnError =" false"
14
11
stopOnFailure =" false"
15
- verbose =" true"
16
12
>
17
13
<testsuites >
18
14
<testsuite name =" Laravel Dusk for Firefox Test Suite" >
19
15
<directory suffix =" Test.php" >./tests</directory >
20
16
</testsuite >
21
17
</testsuites >
22
- <filter >
23
- <whitelist processUncoveredFilesFromWhitelist = " true " >
24
- <directory suffix = " .php " >./ src</directory >
25
- </whitelist >
26
- </filter >
18
+ <source >
19
+ <include >
20
+ <directory > src</directory >
21
+ </include >
22
+ </source >
27
23
</phpunit >
Original file line number Diff line number Diff line change 3
3
namespace Derekmd \Dusk \Firefox ;
4
4
5
5
use Laravel \Dusk \Browser ;
6
+ use PHPUnit \Framework \Attributes \After ;
6
7
7
8
trait SupportsFirefox
8
9
{
@@ -27,9 +28,7 @@ trait SupportsFirefox
27
28
*/
28
29
protected static $ firefoxLog ;
29
30
30
- /**
31
- * @after
32
- */
31
+ #[After]
33
32
public function tearDownFirefoxConsoleOutput ()
34
33
{
35
34
if (static ::$ firefoxLog ) {
You can’t perform that action at this time.
0 commit comments