mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 00:20:03 +00:00
Updated models and tests to match.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use FireflyIII\Models\Preference;
|
||||
/**
|
||||
*
|
||||
* @SuppressWarnings("CamelCase")
|
||||
@@ -50,8 +51,8 @@ class HomeControllerCest
|
||||
*/
|
||||
public function indexWithPrefs(FunctionalTester $I)
|
||||
{
|
||||
\Preference::whereName('frontPageAccounts')->delete();
|
||||
\Preference::create(
|
||||
Preference::whereName('frontPageAccounts')->delete();
|
||||
Preference::create(
|
||||
[
|
||||
'user_id' => 1,
|
||||
'name' => 'frontPageAccounts',
|
||||
|
||||
Reference in New Issue
Block a user