Skip to content

Commit 2ec75cc

Browse files
committed
More debugging
1 parent c6fc6e2 commit 2ec75cc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/ExceptionTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ public function testApiErrorHandling()
99
self::setTestApiKey();
1010

1111
try {
12-
Person::create(array());
12+
Person::create(array(
13+
'name_first' => 'Jane',
14+
));
1315
// Always fail
1416
$this->assertTrue(false);
1517
} catch (Util\Exception $e) {
1618
$expected = 'invalid_request_error';
17-
var_dump($e);
1819
$this->assertSame($expected, $e->type);
1920
$this->assertTrue($e instanceof Util\Exception);
2021
}

0 commit comments

Comments
 (0)