diff --git a/tests/Parse/ParseLogsTest.php b/tests/Parse/ParseLogsTest.php index eb1b5aad..df2c99c5 100644 --- a/tests/Parse/ParseLogsTest.php +++ b/tests/Parse/ParseLogsTest.php @@ -52,26 +52,6 @@ public function testGettingOneLog() $this->assertTrue(isset($logs[0]['url'])); } - /** - * @group parse-logs-tests - */ - public function testGettingErrorLogs() - { - // Generate an error by requesting a non-existant password reset, to verify we have at least 1 line in our logs - try { - ParseUser::requestPasswordReset('not_a_real_email'); - } catch (ParseException $pe) { - // do nothing - } - - $logs = ParseLogs::getErrorLogs(1); - $this->assertEquals(1, count($logs)); - $this->assertEquals($logs[0]['code'], 205); - $this->assertEquals($logs[0]['message'], 'No user found with email not_a_real_email.'); - $this->assertEquals($logs[0]['level'], 'error'); - $this->assertTrue(isset($logs[0]['timestamp'])); - } - /** * @group parse-logs-tests */ diff --git a/tests/Parse/ParseUserTest.php b/tests/Parse/ParseUserTest.php index 6be0a1c3..686932bb 100644 --- a/tests/Parse/ParseUserTest.php +++ b/tests/Parse/ParseUserTest.php @@ -457,15 +457,6 @@ public function testPasswordReset() ParseUser::requestPasswordReset('asdf@example.com'); } - public function testPasswordResetFails() - { - $this->setExpectedException( - 'Parse\ParseException', - 'No user found with email non_existent@example.com.' - ); - ParseUser::requestPasswordReset('non_existent@example.com'); - } - public function testUserAssociations() { $child = ParseObject::create('TestObject');