X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/35e00ddb95733221a8868d81dec65e4d329eb1c3..refs/pull/798/head:/tests/UserProfileTest.php diff --git a/tests/UserProfileTest.php b/tests/UserProfileTest.php index e6b0b4f5f..c1e254090 100644 --- a/tests/UserProfileTest.php +++ b/tests/UserProfileTest.php @@ -115,19 +115,5 @@ class UserProfileTest extends BrowserKitTest ->visit('/books') ->pageHasElement('.featured-image-container'); } - - public function test_user_delete() - { - $newUser = $this->getNewBlankUser(); - $this->actingAs($newUser); - $this->asAdmin()->visit('/settings/users/' . $newUser->id . '/delete') - ->see('Delete User') - ->press('Confirm') - ->seePageIs('/settings/users/') - ->see('USERS')->see('ADD NEW USER'); - - $this->dontSeeInDatabase('images', [ - 'id' => $newUser->image_id - ]); - } + }