mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Covered the final lines.
This commit is contained in:
@@ -50,15 +50,15 @@ class HomeControllerCest
|
||||
*/
|
||||
public function indexWithPrefs(FunctionalTester $I)
|
||||
{
|
||||
$I->wantTo('see the home page of Firefly using pre-set accounts');
|
||||
\Preference::whereName('frontPageAccounts')->delete();
|
||||
\Preference::create(
|
||||
[
|
||||
'user_id' => 1,
|
||||
'name' => 'frontPageAccounts',
|
||||
'data' => '[1,2]'
|
||||
'data' => [1,2]
|
||||
]
|
||||
);
|
||||
$I->wantTo('see the home page of Firefly using pre-set accounts');
|
||||
$I->amOnPage('/');
|
||||
$I->canSeeResponseCodeIs(200);
|
||||
$I->see('Firefly');
|
||||
|
||||
Reference in New Issue
Block a user