diff options
author | murgatroid99 <michael.lumish@gmail.com> | 2015-02-03 11:21:11 -0800 |
---|---|---|
committer | murgatroid99 <michael.lumish@gmail.com> | 2015-02-03 11:21:11 -0800 |
commit | 5ca9f921ae2a9b5d8b9111465c447c202e2944cb (patch) | |
tree | 800876ed9322c7d4bf3ebdb51726166cca418b21 /src/php/tests/unit_tests/CallTest.php | |
parent | c0728c44bf90de42b04662d3962fc2b552473c75 (diff) |
Changed PHP metadata representation to associative array of arrays of strings
Diffstat (limited to 'src/php/tests/unit_tests/CallTest.php')
-rwxr-xr-x | src/php/tests/unit_tests/CallTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/php/tests/unit_tests/CallTest.php b/src/php/tests/unit_tests/CallTest.php index 795831cb65..b6ce974e6e 100755 --- a/src/php/tests/unit_tests/CallTest.php +++ b/src/php/tests/unit_tests/CallTest.php @@ -46,7 +46,7 @@ class CallTest extends PHPUnit_Framework_TestCase{ } public function testAddSingleMetadata() { - $this->call->add_metadata(['key' => 'value'], 0); + $this->call->add_metadata(['key' => ['value']], 0); /* Dummy assert: Checks that the previous call completed without error */ $this->assertTrue(true); } @@ -59,7 +59,7 @@ class CallTest extends PHPUnit_Framework_TestCase{ public function testAddSingleAndMultiValueMetadata() { $this->call->add_metadata( - ['key1' => 'value1', + ['key1' => ['value1'], 'key2' => ['value2', 'value3']], 0); /* Dummy assert: Checks that the previous call completed without error */ $this->assertTrue(true); |