From 2f295c6f49267ee2172ca4a14e6a785118a29d12 Mon Sep 17 00:00:00 2001 From: LEDfan Date: Thu, 21 Jan 2016 15:14:23 +0100 Subject: Fix unit tests --- tests/integration/db/IqRosterTest.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/integration') diff --git a/tests/integration/db/IqRosterTest.php b/tests/integration/db/IqRosterTest.php index 8ce890f..c711023 100644 --- a/tests/integration/db/IqRosterTest.php +++ b/tests/integration/db/IqRosterTest.php @@ -7,7 +7,7 @@ use Sabre\Xml\Writer; class IqRosterTest extends PHPUnit_Framework_TestCase { public function testIqRoster() { - $expected = ''; + $expected = ''; $writer = new Writer(); $writer->openMemory(); @@ -29,7 +29,8 @@ class IqRosterTest extends PHPUnit_Framework_TestCase { "name" => "item", "attributes" => [ "jid" => "test@test.be", - "name" => "Test Test" + "name" => "Test Test", + "subscription" => "both" ], "value" => '' ], @@ -37,7 +38,8 @@ class IqRosterTest extends PHPUnit_Framework_TestCase { "name" => "item", "attributes" => [ "jid" => "test2@test.be", - "name" => "Test2 Test" + "name" => "Test2 Test", + "subscription" => "both" ], "value" => '' ], -- cgit v1.2.3