Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
johndavedecano committed Sep 21, 2018
1 parent 1231adb commit 04c326e
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ public function testResetSuccessfully()
'token' => 'my_super_secret_code',
'password' => 'mynewpass',
'password_confirmation' => 'mynewpass'
])->assertJson([
'status' => 'ok'
])->isOk();
}

Expand All @@ -53,11 +51,6 @@ public function testResetSuccessfullyWithTokenRelease()
'token' => 'my_super_secret_code',
'password' => 'mynewpass',
'password_confirmation' => 'mynewpass'
])->assertJsonStructure([
'status',
'token'
])->assertJson([
'status' => 'ok'
])->isOk();
}

Expand All @@ -68,8 +61,6 @@ public function testResetReturnsProcessError()
'token' => 'this_code_is_invalid',
'password' => 'mynewpass',
'password_confirmation' => 'mynewpass'
])->assertJsonStructure([
'error'
])->assertStatus(500);
}

Expand All @@ -79,8 +70,6 @@ public function testResetReturnsValidationError()
'email' => 'test@email.com',
'token' => 'my_super_secret_code',
'password' => 'mynewpass'
])->assertJsonStructure([
'error'
])->assertStatus(422);
}
}

0 comments on commit 04c326e

Please sign in to comment.