mirror of
https://github.com/e107inc/e107.git
synced 2025-02-16 20:44:42 +01:00
Tests: Removed weird 17 rows threshold for clearing user_extended_struct
Should fix rare flaky e107_user_extendedTest::testUserExtendedAllShortcode()
This commit is contained in:
parent
e261e4fb2d
commit
7cfc79d335
@ -116,21 +116,9 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
// clear the table.
|
// clear the table.
|
||||||
|
|
||||||
$sql = e107::getDb();
|
$sql = e107::getDb();
|
||||||
/* $fieldCount = (int) $sql->count('user_extended_struct');
|
|
||||||
|
|
||||||
if($fieldCount > 17)
|
|
||||||
{
|
|
||||||
codecept_debug("Truncating user_extended_struct");
|
|
||||||
$sql->truncate('user_extended_struct');
|
|
||||||
|
|
||||||
}*/
|
|
||||||
|
|
||||||
$sql->truncate('user_extended_struct');
|
$sql->truncate('user_extended_struct');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Add a field of each type.
|
// Add a field of each type.
|
||||||
foreach($this->structTypes as $k=> $v)
|
foreach($this->structTypes as $k=> $v)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user