aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/tests
diff options
context:
space:
mode:
authorGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-02-04 10:03:50 -0800
committerGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-02-04 10:03:50 -0800
commit8886a55b6e86677c30c73e686ad16eb28069c55b (patch)
tree54866f0b6583b800a9e2296f7fe1aafdfa4682a0 /src/php/tests
parent611a8eea161107d4a936ee31d3b04c43c5d2e348 (diff)
parent5db18baab887d3a0157174244a2a501a637b0ba3 (diff)
Merge pull request #373 from murgatroid99/php_metadata_representation
Updated PHP metadata representation to be consistent with Node
Diffstat (limited to 'src/php/tests')
-rwxr-xr-xsrc/php/tests/unit_tests/CallTest.php4
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 ebf2ba34dd..8f709b7e9c 100755
--- a/src/php/tests/unit_tests/CallTest.php
+++ b/src/php/tests/unit_tests/CallTest.php
@@ -47,7 +47,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);
}
@@ -60,7 +60,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);