aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2013-11-27 16:30:16 -0800
committerCesar G <prototech91@gmail.com>2014-01-17 19:20:36 -0800
commit1fedad5e078d6c47913c881bc30704941e3a21d1 (patch)
treeec5d2cb0805ecac89d309e74443fe6fe8b02d04e /tests
parent8b351104edf7dbe974de6d52851ca402769bf101 (diff)
downloadforums-1fedad5e078d6c47913c881bc30704941e3a21d1.tar
forums-1fedad5e078d6c47913c881bc30704941e3a21d1.tar.gz
forums-1fedad5e078d6c47913c881bc30704941e3a21d1.tar.bz2
forums-1fedad5e078d6c47913c881bc30704941e3a21d1.tar.xz
forums-1fedad5e078d6c47913c881bc30704941e3a21d1.zip
[ticket/11915] Fix the Plupload test.
PHPBB3-11915
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/plupload_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/plupload_test.php b/tests/functional/plupload_test.php
index 6dd9224839..a91e70c7bb 100644
--- a/tests/functional/plupload_test.php
+++ b/tests/functional/plupload_test.php
@@ -107,7 +107,7 @@ class phpbb_functional_plupload_test extends phpbb_functional_test_case
else
{
$response = json_decode(self::$client->getResponse()->getContent(), true);
- $this->assertEquals('valid.jpg', $response[0]['real_filename']);
+ $this->assertEquals('valid.jpg', $response['data'][0]['real_filename']);
}
unlink($this->path . 'chunk');
@@ -144,6 +144,6 @@ class phpbb_functional_plupload_test extends phpbb_functional_test_case
);
$response = json_decode(self::$client->getResponse()->getContent(), true);
- $this->assertEquals('valid.jpg', $response[0]['real_filename']);
+ $this->assertEquals('valid.jpg', $response['data'][0]['real_filename']);
}
}