BlockTest: throw exception instead of always-false assert

This commit is contained in:
Dylan K. Taylor 2020-02-06 13:21:39 +00:00
parent 7885b54824
commit 5ad66c3c9b

View File

@ -62,7 +62,7 @@ class BlockTest extends TestCase{
}
}
self::assertTrue(false, "Can't test registering new blocks because no unused spaces left");
throw new \RuntimeException("Can't test registering new blocks because no unused spaces left");
}
/**