mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/13867] Use order by in profile fields manager test
PHPBB3-13867
This commit is contained in:
parent
9080a0e778
commit
7149349e25
1 changed files with 4 additions and 2 deletions
|
@ -110,7 +110,8 @@ class manager_test extends phpbb_database_test_case
|
|||
$sql = 'SELECT field_id
|
||||
FROM ' . $this->table_prefix . "profile_fields
|
||||
WHERE field_active = 1
|
||||
AND field_type = 'foo_bar_type'";
|
||||
AND field_type = 'foo_bar_type'
|
||||
ORDER BY field_id ASC";
|
||||
$this->assertSqlResultEquals([
|
||||
['field_id' => '1'],
|
||||
['field_id' => '2'],
|
||||
|
@ -161,7 +162,8 @@ class manager_test extends phpbb_database_test_case
|
|||
$this->assertSqlResultEquals([], $sql, 'All profile fields lang should be removed');
|
||||
|
||||
$sql = 'SELECT field_id, field_order
|
||||
FROM ' . $this->table_prefix . 'profile_fields';
|
||||
FROM ' . $this->table_prefix . 'profile_fields
|
||||
ORDER BY field_id ASC';
|
||||
$this->assertSqlResultEquals([
|
||||
[
|
||||
'field_id' => '3',
|
||||
|
|
Loading…
Add table
Reference in a new issue