Skip to content

Commit 5cc67ee

Browse files
author
Nicolas Boisvert
committed
Fixes password test
1 parent 1cb6138 commit 5cc67ee

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/ImportTest.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ class ExtendedImport extends Nicklayb\LaravelDbImport\Import
1818
]
1919
];
2020
protected $resetPassword = [
21-
'users:password' => 'test'
21+
'users' => 'test',
22+
'users:super_secret_password' => 'new secret'
2223
];
2324

2425
public function filterUsers($query)
@@ -101,7 +102,10 @@ public function testQualifiedManipulationName()
101102

102103
public function testGetPasswordResetValues()
103104
{
104-
$expected = ['password' => 'test'];
105+
$expected = [
106+
'super_secret_password' => 'new secret',
107+
'password' => 'test'
108+
];
105109
$this->assertEquals($expected, $this->extendedImport->getPasswordResetValues('users'));
106110
}
107111

0 commit comments

Comments
 (0)