diff --git a/tests/ExceptionTest.php b/tests/ExceptionTest.php index e6c69c1..a4711bf 100644 --- a/tests/ExceptionTest.php +++ b/tests/ExceptionTest.php @@ -9,12 +9,13 @@ public function testApiErrorHandling() self::setTestApiKey(); try { - Person::create(array()); + Person::create(array( + 'name_first' => 'Jane', + )); // Always fail $this->assertTrue(false); } catch (Util\Exception $e) { $expected = 'invalid_request_error'; - var_dump($e); $this->assertSame($expected, $e->type); $this->assertTrue($e instanceof Util\Exception); }