File tree Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -52,26 +52,6 @@ public function testGettingOneLog()
52
52
$ this ->assertTrue (isset ($ logs [0 ]['url ' ]));
53
53
}
54
54
55
- /**
56
- * @group parse-logs-tests
57
- */
58
- public function testGettingErrorLogs ()
59
- {
60
- // Generate an error by requesting a non-existant password reset, to verify we have at least 1 line in our logs
61
- try {
62
- ParseUser::requestPasswordReset ('not_a_real_email ' );
63
- } catch (ParseException $ pe ) {
64
- // do nothing
65
- }
66
-
67
- $ logs = ParseLogs::getErrorLogs (1 );
68
- $ this ->assertEquals (1 , count ($ logs ));
69
- $ this ->assertEquals ($ logs [0 ]['code ' ], 205 );
70
- $ this ->assertEquals ($ logs [0 ]['message ' ], 'No user found with email not_a_real_email. ' );
71
- $ this ->assertEquals ($ logs [0 ]['level ' ], 'error ' );
72
- $ this ->assertTrue (isset ($ logs [0 ]['timestamp ' ]));
73
- }
74
-
75
55
/**
76
56
* @group parse-logs-tests
77
57
*/
Original file line number Diff line number Diff line change @@ -457,15 +457,6 @@ public function testPasswordReset()
457
457
ParseUser::requestPasswordReset ('asdf@example.com ' );
458
458
}
459
459
460
- public function testPasswordResetFails ()
461
- {
462
- $ this ->setExpectedException (
463
- 'Parse\ParseException ' ,
464
- 'No user found with email non_existent@example.com. '
465
- );
466
- ParseUser::requestPasswordReset ('non_existent@example.com ' );
467
- }
468
-
469
460
public function testUserAssociations ()
470
461
{
471
462
$ child = ParseObject::create ('TestObject ' );
You can’t perform that action at this time.
0 commit comments