mirror of
https://github.com/e107inc/e107.git
synced 2025-01-29 10:38:08 +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.
|
||||
|
||||
$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');
|
||||
|
||||
|
||||
|
||||
// Add a field of each type.
|
||||
foreach($this->structTypes as $k=> $v)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user