File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
tests/Feature/ValueObjects Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5858 run : ./vendor/bin/pest --type-coverage --min=100
5959
6060 - name : Tests
61- run : ./vendor/bin/pest --parallel --order-by random --stop-on-failure --coverage --min=90
61+ run : ./vendor/bin/pest --parallel --order-by random --stop-on-failure --coverage --min=85
Original file line number Diff line number Diff line change 33declare (strict_types=1 );
44
55use Fraction \Exceptions \PreventLoop ;
6+ use Fraction \ValueObjects \Then ;
67
78test ('can instantiate ' , function () {
8- $ then = new Fraction \ ValueObjects \ Then ('foo ' , 'foo ' );
9+ $ then = new Then ('foo ' , 'foo ' );
910
1011 expect ($ then ->then )->toBe ('foo ' );
1112});
1213
1314test ('cannot instantiate due same name ' , function () {
14- $ then = new Fraction \ ValueObjects \ Then ('__fraction.foo ' , 'foo ' );
15+ $ then = new Then ('__fraction.foo ' , 'foo ' );
1516
1617 expect ($ then ->then )->toBe ('foo ' );
1718})->throws (PreventLoop::class, 'The hook "then" cannot be used to invoke itself. ' );
You can’t perform that action at this time.
0 commit comments