aboutsummaryrefslogtreecommitdiffstats
path: root/tests/installer
diff options
context:
space:
mode:
Diffstat (limited to 'tests/installer')
-rw-r--r--tests/installer/installer_config_test.php19
1 files changed, 12 insertions, 7 deletions
diff --git a/tests/installer/installer_config_test.php b/tests/installer/installer_config_test.php
index 7de23aea36..c8e482e260 100644
--- a/tests/installer/installer_config_test.php
+++ b/tests/installer/installer_config_test.php
@@ -62,13 +62,18 @@ class phpbb_installer_config_test extends phpbb_test_case
$this->config->increment_current_task_progress(2);
- $this->assertEquals(array(
- 'last_task_module_name' => 'bar',
- 'last_task_name' => 'foo',
- 'max_task_progress' => 10,
- 'current_task_progress' => 3,
- ),
- $this->config->get_progress_data()
+ // We only want to check these values
+ $result = $this->config->get_progress_data();
+ $expected_result = array(
+ 'last_task_module_name' => 'bar',
+ 'last_task_name' => 'foo',
+ 'max_task_progress' => 10,
+ 'current_task_progress' => 3,
);
+
+ foreach ($expected_result as $key => $value)
+ {
+ $this->assertEquals($value, $result[$key]);
+ }
}
}