From 47d64c8cceb43fcee9d4ef8385792145a37e02c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sch=C3=BCtte?= Date: Fri, 11 Mar 2016 15:25:29 +0100 Subject: [PATCH] fix test_output_ff_services --- tests/test-LowLevelTests.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test-LowLevelTests.php b/tests/test-LowLevelTests.php index 4651be0..e6fa392 100644 --- a/tests/test-LowLevelTests.php +++ b/tests/test-LowLevelTests.php @@ -126,9 +126,13 @@ class LowLevelTests extends PHPUnit_Framework_TestCase { 'serviceName' => 'jabber', 'serviceDescription' => 'chat', 'internalUri' => 'xmpp://jabber.local', + 'externalUri' => 'xmpp://jabber.example.org', ))); $ret = $this->FFM->output_ff_services($data); - $this->assertEquals('', $ret); + $this->assertEquals(''. + ''. + ''. + '
DienstBeschreibungFreifunk URIInternet URI
jabberchatxmpp://jabber.localxmpp://jabber.example.org
', $ret); } function test_output_ff_contact_null() {