diff --git a/tests/Unit/SpeciesTest.php b/tests/Unit/SpeciesTest.php index 70b13b026e2ad45107d38c90d797ef29cbeed529..0c2a7e54dd3c1bf016cc01a4db784a52a4e947aa 100644 --- a/tests/Unit/SpeciesTest.php +++ b/tests/Unit/SpeciesTest.php @@ -25,24 +25,18 @@ final class SpeciesTest extends TestCase { $this->expectExceptionMessage('Illegal choice for `data`'); $this->species->nameUsage([], 'invalid'); - - $this->fail("No exception raised"); } public function testShouldThrowExceptionIfNoDataKeyProvided() { $this->expectExceptionMessage('You must specify a key if `data` does not equal `all`'); $this->species->nameUsage([], 'name'); - - $this->fail("No exception raised"); } public function testShouldThrowExceptionOnRootDataIfNoUuidOrShortNameProvided() { $this->expectExceptionMessage('`uuid` and `short_name` cannot be both NULL if `data` equals "root"'); $this->species->nameUsage([], 'root', '123'); - - $this->fail("No exception raised"); } public function testShouldGetValidResponseWithValidArguments()