File tree Expand file tree Collapse file tree 4 files changed +4
-17
lines changed
Expand file tree Collapse file tree 4 files changed +4
-17
lines changed Original file line number Diff line number Diff line change 4141
4242 - name : Install dependencies
4343 run : |
44- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "larastan/larastan:${{ matrix.larastan }}" --no-interaction --no-update
44+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4545 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
4646
4747 - name : Execute tests
Original file line number Diff line number Diff line change 77.idea
88.php_cs.cache
99.php-cs-fixer.cache
10+ .phpunit.cache
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
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- <report >
8- <clover outputFile =" build/logs/clover.xml" />
9- <html outputDirectory =" build/coverage" />
10- <text outputFile =" build/coverage.txt" />
11- </report >
12- </coverage >
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" bootstrap =" vendor/autoload.php" backupGlobals =" false" colors =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/11.5/phpunit.xsd" cacheDirectory =" .phpunit.cache" backupStaticProperties =" false" >
133 <testsuites >
144 <testsuite name =" Spatie Test Suite" >
155 <directory >tests</directory >
Original file line number Diff line number Diff line change 6666
6767 $ blueprint ->add ('date_time ' , $ dateTime ->format (DATE_ATOM ));
6868 $ blueprint ->add ('carbon ' , $ carbon ->toAtomString ());
69- $ blueprint ->add ('illuminate_carbon ' , $ illuminateCarbon ->toAtomString ());
7069 $ blueprint ->add ('nullable_date_time_zone ' , null );
7170 });
7271
8584 DummyData::from (['name ' => 'Adriaan ' ]),
8685 ])
8786 ->date_time ->toEqual ($ dateTime )
88- ->carbon ->toEqual ($ carbon )
89- ->illuminate_carbon ->toEqual ($ illuminateCarbon );
87+ ->carbon ->toEqual ($ carbon );
9088});
9189
9290it ('will fail loading when settings are missing ' , function () {
123121 ]);
124122 $ blueprint ->add ('date_time ' , $ dateTime ->format (DATE_ATOM ));
125123 $ blueprint ->add ('carbon ' , $ carbon ->toAtomString ());
126- $ blueprint ->add ('illuminate_carbon ' , $ illuminateCarbon ->toAtomString ());
127124 $ blueprint ->add ('nullable_date_time_zone ' , $ dateTimeZone ->getName ());
128125 });
129126
165162 expect ($ settings )
166163 ->date_time ->toEqual ($ dateTime )
167164 ->carbon ->toEqual ($ carbon )
168- ->illuminate_carbon ->toEqual ($ illuminateCarbon )
169165 ->nullable_date_time_zone ->toBeNull ();
170166});
171167
You can’t perform that action at this time.
0 commit comments