diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-12-22 10:40:06 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-12-22 10:40:06 +0100 |
commit | 11eb072f80ae666f31cdc54c40aefeb7d5bdb014 (patch) | |
tree | de0d9096dd0395b551f6f1c582d71baeeefba575 | |
parent | 8e7ed506c41ea8b8f725f7e122ca6f0b091de5e4 (diff) |
Fix rcube_utils::get_boolean() test to not use deprecated function alias
-rw-r--r-- | tests/Framework/Utils.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Framework/Utils.php b/tests/Framework/Utils.php index b32974d23..10c90fb2b 100644 --- a/tests/Framework/Utils.php +++ b/tests/Framework/Utils.php @@ -241,7 +241,7 @@ class Framework_Utils extends PHPUnit_Framework_TestCase ); foreach ($input as $idx => $value) { - $this->assertFalse(get_boolean($value), "Invalid result for $idx test item"); + $this->assertFalse(rcube_utils::get_boolean($value), "Invalid result for $idx test item"); } $input = array( @@ -249,7 +249,7 @@ class Framework_Utils extends PHPUnit_Framework_TestCase ); foreach ($input as $idx => $value) { - $this->assertTrue(get_boolean($value), "Invalid result for $idx test item"); + $this->assertTrue(rcube_utils::get_boolean($value), "Invalid result for $idx test item"); } } |