Skip to content

Commit c51500e

Browse files
committed
pest laravel 9 compatibility
1 parent a1e0828 commit c51500e

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"nunomaduro/collision": "^7.9",
2525
"nunomaduro/larastan": "^2.0.1",
2626
"orchestra/testbench": "^8.0",
27-
"pestphp/pest": "^2.0",
28-
"pestphp/pest-plugin-laravel": "^2.0",
27+
"pestphp/pest": "^1.22 || ^2.0",
28+
"pestphp/pest-plugin-laravel": "^1.22 || ^2.0",
2929
"phpstan/extension-installer": "^1.1",
3030
"phpstan/phpstan-deprecation-rules": "^1.0",
3131
"phpstan/phpstan-phpunit": "^1.0",

tests/ExampleTest.php

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
<?php
22

3-
it('can test', function () {
4-
expect(true)->toBeTrue();
5-
});
6-
73
it('covers all cases', function () {
4+
//TODO
85
// Write tests for all kind of scopes
96
// Create a db with fixed date values
107
// and test with: Carbon::setTestNow('2023-01-01');
11-
})->todo();
8+
expect(true)->toBeTrue();
9+
});

0 commit comments

Comments
 (0)