mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02: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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user