diff --git a/Tests/GravityTest.php b/Tests/GravityTest.php index 8d4b7a9..6a59ff1 100644 --- a/Tests/GravityTest.php +++ b/Tests/GravityTest.php @@ -18,13 +18,7 @@ public function testGravity($gravity): void { $gravity = new Gravity($gravity); - try { - $validatedGravity = $gravity->validate(); - } catch (\Exception $e) { - static::fail($e->getMessage()); - - return; - } + $validatedGravity = $gravity->validate(); static::assertIsString($validatedGravity); static::assertNotEmpty($validatedGravity);