diff options
Diffstat (limited to 'apps/encryption/tests/Controller/StatusControllerTest.php')
-rw-r--r-- | apps/encryption/tests/Controller/StatusControllerTest.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/apps/encryption/tests/Controller/StatusControllerTest.php b/apps/encryption/tests/Controller/StatusControllerTest.php index 0dc04b0ba1c..8e3b71e4d52 100644 --- a/apps/encryption/tests/Controller/StatusControllerTest.php +++ b/apps/encryption/tests/Controller/StatusControllerTest.php @@ -92,12 +92,11 @@ class StatusControllerTest extends TestCase { } public function dataTestGetStatus() { - return array( - array(Session::RUN_MIGRATION, 'interactionNeeded'), - array(Session::INIT_EXECUTED, 'interactionNeeded'), - array(Session::INIT_SUCCESSFUL, 'success'), - array(Session::NOT_INITIALIZED, 'interactionNeeded'), - array('unknown', 'error'), - ); + return [ + [Session::INIT_EXECUTED, 'interactionNeeded'], + [Session::INIT_SUCCESSFUL, 'success'], + [Session::NOT_INITIALIZED, 'interactionNeeded'], + ['unknown', 'error'], + ]; } } |