Skip to content

Commit b24c920

Browse files
committed
wip
1 parent e16e300 commit b24c920

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ jobs:
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

tests/Feature/ValueObjects/ThenTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
declare(strict_types=1);
44

55
use Fraction\Exceptions\PreventLoop;
6+
use Fraction\ValueObjects\Then;
67

78
test('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

1314
test('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.');

0 commit comments

Comments
 (0)