aboutsummaryrefslogtreecommitdiff
path: root/tests/lib/Minz/MigratorTest.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-05-22 20:55:59 +0200
committerGravatar GitHub <noreply@github.com> 2023-05-22 20:55:59 +0200
commit445cc23abdda5767b622d70cf7b5eb5310dcf908 (patch)
treed3f4d05416576da2a0cd7e45eb768f1c2f900f08 /tests/lib/Minz/MigratorTest.php
parentd554d0f6736c5cf94cb2a8fa61f3b6187b86ffa2 (diff)
PHPStan Level 7 complete (#5406)
* PHPStan Level 7 complete * Start PHPStan Level 8 * Forgot exclude .phtml
Diffstat (limited to 'tests/lib/Minz/MigratorTest.php')
-rw-r--r--tests/lib/Minz/MigratorTest.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/lib/Minz/MigratorTest.php b/tests/lib/Minz/MigratorTest.php
index 4ff02e837..1803e6e86 100644
--- a/tests/lib/Minz/MigratorTest.php
+++ b/tests/lib/Minz/MigratorTest.php
@@ -17,14 +17,6 @@ class MigratorTest extends TestCase
self::assertTrue($result);
}
- public function testAddMigrationFailsIfUncallableMigration(): void {
- $this->expectException(BadFunctionCallException::class);
- $this->expectExceptionMessage('foo migration cannot be called.');
-
- $migrator = new Minz_Migrator();
- $migrator->addMigration('foo', null);
- }
-
public function testMigrationsIsSorted(): void {
$migrator = new Minz_Migrator();
$migrator->addMigration('2_foo', function () {