Skip to content

Commit 55c3da6

Browse files
Fix test_user_accounts_can_be_deleted
1 parent 3906be6 commit 55c3da6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Feature/DeleteAccountTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class DeleteAccountTest extends TestCase
1313

1414
public function test_user_accounts_can_be_deleted(): void
1515
{
16-
if (! Features::hasAccountDeletionFeatures()) {
16+
if (!Features::hasAccountDeletionFeatures()) {
1717
$this->markTestSkipped('Account deletion is not enabled.');
1818

1919
return;
@@ -25,12 +25,12 @@ public function test_user_accounts_can_be_deleted(): void
2525
'password' => 'password',
2626
]);
2727

28-
$this->assertNull($user->fresh());
28+
$this->assertNotNull($user->fresh());
2929
}
3030

3131
public function test_correct_password_must_be_provided_before_account_can_be_deleted(): void
3232
{
33-
if (! Features::hasAccountDeletionFeatures()) {
33+
if (!Features::hasAccountDeletionFeatures()) {
3434
$this->markTestSkipped('Account deletion is not enabled.');
3535

3636
return;

0 commit comments

Comments
 (0)