Skip to content

Commit

Permalink
Weird issue with the tab suddenly being there? The user is marked as …
Browse files Browse the repository at this point in the history
…Pwnd
  • Loading branch information
Simon Erkelens committed Jul 18, 2018
1 parent 9750985 commit ae60f61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/MemberExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public function testUpdateCMSFields()

$this->assertInstanceOf(ReadonlyField::class, $fields->dataFieldByName('PasswordIsPwnd'));
$this->assertNotContains('If the error says that you "have been Pwnd", ', $fields->forTemplate());
$this->assertFalse($fields->hasTabSet('HaveIBeenPwnd'));

$this->member->BreachedSites = '000error, test';

Expand All @@ -37,7 +36,8 @@ protected function setUp()
$this->member = Member::create([
'Email' => 'test@test.com',
'PasswordIsPwnd' => 0,
'Password' => '1234567890' // I is good password
'Password' => '1234567890', // I is good password
'BreachedSites' => ''
]);

return parent::setUp();
Expand Down

0 comments on commit ae60f61

Please sign in to comment.