diff options
author | Mate Bartus <mate.bartus@gmail.com> | 2015-07-24 09:20:50 +0200 |
---|---|---|
committer | Mate Bartus <mate.bartus@gmail.com> | 2015-10-17 23:05:57 +0200 |
commit | 8f5a0ad6f73e7b7757b02c827436384c96069b5a (patch) | |
tree | 87a16ddaa2f645d62728f0b4543199e43995bfeb /tests/installer | |
parent | f1047ac854baba4d1015cd9a555a523b3860f2c9 (diff) | |
download | forums-8f5a0ad6f73e7b7757b02c827436384c96069b5a.tar forums-8f5a0ad6f73e7b7757b02c827436384c96069b5a.tar.gz forums-8f5a0ad6f73e7b7757b02c827436384c96069b5a.tar.bz2 forums-8f5a0ad6f73e7b7757b02c827436384c96069b5a.tar.xz forums-8f5a0ad6f73e7b7757b02c827436384c96069b5a.zip |
[ticket/14039] Revamp updater
PHPBB3-14039
Diffstat (limited to 'tests/installer')
-rw-r--r-- | tests/installer/installer_config_test.php | 19 |
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]); + } } } |