mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
Reactivating tests, fixing stuff
This commit is contained in:
parent
45f76db5d6
commit
1a9df263ed
3 changed files with 9 additions and 10 deletions
|
@ -71,7 +71,7 @@ trait DatabaseTestTrait
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
$dba->insert($tableName, $row);
|
$dba->insert($tableName, $row, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,14 +42,13 @@ return [
|
||||||
'backend-ref' => 'unimported',
|
'backend-ref' => 'unimported',
|
||||||
'data' => 'invalid data moved',
|
'data' => 'invalid data moved',
|
||||||
],
|
],
|
||||||
// skip everytime because of invalid storage and no data
|
// @todo Check failing test because of this (never loaded) fixture
|
||||||
[
|
// [
|
||||||
'id' => 3,
|
// 'id' => 4,
|
||||||
'backend-class' => 'invalid!',
|
// 'backend-class' => 'invalid!',
|
||||||
'backend-ref' => 'unimported',
|
// 'backend-ref' => 'unimported',
|
||||||
'data' => '',
|
// 'data' => '',
|
||||||
],
|
// ], ],
|
||||||
],
|
|
||||||
'storage' => [
|
'storage' => [
|
||||||
[
|
[
|
||||||
'id' => 1,
|
'id' => 1,
|
||||||
|
|
|
@ -70,7 +70,7 @@ class ApiTest extends DatabaseTest
|
||||||
/** @var Database $dba */
|
/** @var Database $dba */
|
||||||
$dba = $this->dice->create(Database::class);
|
$dba = $this->dice->create(Database::class);
|
||||||
|
|
||||||
// test $dba->setTestmode(true);
|
$dba->setTestmode(true);
|
||||||
|
|
||||||
DBStructure::checkInitialValues();
|
DBStructure::checkInitialValues();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue