mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-01 12:44:43 +00:00
fix community server tests
This commit is contained in:
parent
8b3653016b
commit
52055778b3
@ -24,7 +24,7 @@ class AdminErrorsTableTest extends TestCase
|
||||
*/
|
||||
public $fixtures = [
|
||||
'app.AdminErrors',
|
||||
'app.StateUsers'
|
||||
'app.User'
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@ -24,7 +24,7 @@ class StateBalancesTableTest extends TestCase
|
||||
*/
|
||||
public $fixtures = [
|
||||
'app.StateBalances',
|
||||
'app.StateUsers',
|
||||
'app.User',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@ -24,7 +24,7 @@ class StateErrorsTableTest extends TestCase
|
||||
*/
|
||||
public $fixtures = [
|
||||
'app.StateErrors',
|
||||
'app.StateUsers',
|
||||
'app.User',
|
||||
'app.TransactionTypes'
|
||||
];
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@ class StateUserTransactionsTableTest extends TestCase
|
||||
*/
|
||||
public $fixtures = [
|
||||
'app.StateUserTransactions',
|
||||
'app.StateUsers',
|
||||
'app.User',
|
||||
'app.Transactions',
|
||||
'app.TransactionTypes',
|
||||
];
|
||||
|
||||
@ -23,7 +23,7 @@ class StateUsersTableTest extends TestCase
|
||||
* @var array
|
||||
*/
|
||||
public $fixtures = [
|
||||
'app.StateUsers',
|
||||
'app.User',
|
||||
'app.StateGroups',
|
||||
'app.StateBalances',
|
||||
'app.StateCreated',
|
||||
@ -39,8 +39,8 @@ class StateUsersTableTest extends TestCase
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$config = TableRegistry::getTableLocator()->exists('StateUsers') ? [] : ['className' => StateUsersTable::class];
|
||||
$this->StateUsersTable = TableRegistry::getTableLocator()->get('StateUsers', $config);
|
||||
$config = TableRegistry::getTableLocator()->exists('User') ? [] : ['className' => StateUsersTable::class];
|
||||
$this->StateUsersTable = TableRegistry::getTableLocator()->get('User', $config);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user