[icinga-checkins] icinga.org: icingaweb2/master: UrlTest: Use getBasePath instead of getBaseUrl

git at icinga.org git at icinga.org
Thu Oct 20 09:31:14 CEST 2016


Module: icingaweb2
Branch: master
Commit: 011bce0909e66c3b9aed34d6807b02028ad91b67
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=011bce0909e66c3b9aed34d6807b02028ad91b67

Author: Noah Hilverling <noah.hilverling at netways.de>
Date:   Tue Oct 18 14:12:38 2016 +0200

UrlTest: Use getBasePath instead of getBaseUrl

refs #12133

---

 test/php/library/Icinga/Web/UrlTest.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/php/library/Icinga/Web/UrlTest.php b/test/php/library/Icinga/Web/UrlTest.php
index 56ac1ee..c5cd839 100644
--- a/test/php/library/Icinga/Web/UrlTest.php
+++ b/test/php/library/Icinga/Web/UrlTest.php
@@ -93,8 +93,8 @@ class UrlTest extends BaseTestCase
 
         $this->assertEquals(
             '',
-            $url->getBaseUrl(),
-            'Url::fromPath does not recognize the correct base url'
+            $url->getBasePath(),
+            'Url::fromPath does not recognize the correct base path'
         );
         $this->assertEquals(
             '/my/test/url.html',



More information about the icinga-checkins mailing list