diff options
author | William Desportes <williamdes@wdes.fr> | 2020-02-14 22:50:41 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2020-02-15 00:23:16 +0300 |
commit | 2a5adfe1d433c33cca2dbba84c6a87283f0019b5 (patch) | |
tree | 0e50c9a15ef79147c9c633173103f5e91fe3aa6c /test/classes/MessageTest.php | |
parent | 315e478d0bf12e53bb97f2256422020def0c41d2 (diff) |
Improve Message class as suggested by Scrutinizer
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'test/classes/MessageTest.php')
-rw-r--r-- | test/classes/MessageTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/classes/MessageTest.php b/test/classes/MessageTest.php index b673b1ee18..9f75ad33a4 100644 --- a/test/classes/MessageTest.php +++ b/test/classes/MessageTest.php @@ -354,10 +354,10 @@ class MessageTest extends PmaTestCase */ public function testSetParams() { - $this->object->setParams('test&<>'); - $this->assertEquals('test&<>', $this->object->getParams()); - $this->object->setParams('test&<>', true); - $this->assertEquals('test&<>', $this->object->getParams()); + $this->object->setParams(['test&<>']); + $this->assertEquals(['test&<>'], $this->object->getParams()); + $this->object->setParams(['test&<>'], true); + $this->assertEquals(['test&<>'], $this->object->getParams()); } /** |