Skip to content

Commit 315aab2

Browse files
committed
Tests: refactored
1 parent a3f80db commit 315aab2

37 files changed

+1522
-957
lines changed

tests/Cases/DI/Configuration/EntityListenerResolver.phpt

Lines changed: 0 additions & 55 deletions
This file was deleted.

tests/Cases/DI/Configuration/NamingStrategy.phpt

Lines changed: 0 additions & 54 deletions
This file was deleted.

tests/Cases/DI/Configuration/QuoteStrategy.phpt

Lines changed: 0 additions & 55 deletions
This file was deleted.

tests/Cases/DI/Configuration/RepositoryFactory.phpt

Lines changed: 0 additions & 54 deletions
This file was deleted.

tests/Cases/DI/Helper/MappingHelper.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use Contributte\Tester\Toolkit;
44
use Nette\DI\CompilerExtension;
55
use Nettrine\ORM\DI\Helpers\MappingHelper;
6-
use Nettrine\ORM\Exception\Logical\InvalidStateException;
6+
use Nettrine\ORM\Exception\LogicalException;
77
use Tester\Assert;
88

99
require_once __DIR__ . '/../../../bootstrap.php';
@@ -18,5 +18,5 @@ Toolkit::test(function (): void {
1818
};
1919

2020
MappingHelper::of($extension)->addAttribute('fake', 'invalid');
21-
}, InvalidStateException::class, 'Given mapping path "invalid" does not exist');
21+
}, LogicalException::class, 'Given mapping path "invalid" does not exist');
2222
});

tests/Cases/DI/OrmAttributesExtension.phpt

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)