Skip to content

[1.3.0] Tests are broken again :-( #1960

Closed
@ghost

Description

There were 10 failures:

1) Phalcon\Test\Tag\UnitTest::testStylesheetLinkWithArrayLocal
StylesheetLink local with Array does not return proper html element
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<link rel="stylesheet" type="text/css" href="css/phalcon.css">
+'<link rel="stylesheet" type="text/css" href="/css/phalcon.css">
 '

/php-tests/tests/Phalcon/Tag/UnitTest.php:234
/usr/bin/phpunit:46

2) Phalcon\Test\Tag\UnitTest::testStylesheetLinkWithStringAsSecondParameterLocal
StylesheetLink local with string as second parameter does not return proper html element
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<link rel="stylesheet" type="text/css" href="css/phalcon.css">
+'<link rel="stylesheet" type="text/css" href="/css/phalcon.css">
 '

/php-tests/tests/Phalcon/Tag/UnitTest.php:256
/usr/bin/phpunit:46

3) Phalcon\Test\Tag\UnitTest::testStylesheetLinkWithArrayRemote
StylesheetLink remote with Array does not return proper html element
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Rosario">
+'<link rel="stylesheet" type="text/css" href="/http://fonts.googleapis.com/css?family=Rosario">
 '

/php-tests/tests/Phalcon/Tag/UnitTest.php:294
/usr/bin/phpunit:46

4) Phalcon\Test\Tag\UnitTest::testStylesheetLinkWithArrayLocalXHTML
XHTML StylesheetLink local with Array does not return proper html element
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<link rel="stylesheet" type="text/css" href="css/phalcon.css" />
+'<link rel="stylesheet" type="text/css" href="/css/phalcon.css" />
 '

/php-tests/tests/Phalcon/Tag/UnitTest.php:357
/usr/bin/phpunit:46

5) Phalcon\Test\Tag\UnitTest::testStylesheetLinkWithStringAsSecondParameterLocalXHTML
StylesheetLink local with string as second parameter does not return proper html element
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<link rel="stylesheet" type="text/css" href="css/phalcon.css" />
+'<link rel="stylesheet" type="text/css" href="/css/phalcon.css" />
 '

/php-tests/tests/Phalcon/Tag/UnitTest.php:380
/usr/bin/phpunit:46

6) Phalcon\Test\Tag\UnitTest::testStylesheetLinkWithArrayRemoteXHTML
XHTML StylesheetLink remote with Array does not return proper html element
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Rosario" />
+'<link rel="stylesheet" type="text/css" href="/http://fonts.googleapis.com/css?family=Rosario" />
 '

/php-tests/tests/Phalcon/Tag/UnitTest.php:420
/usr/bin/phpunit:46

7) Phalcon\Test\Tag\UnitTest::testJavascriptIncludeWithArrayLocal
JavascriptInclude local with Array does not return proper html element
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<script type="text/javascript" src="js/phalcon.js"></script>
+'<script type="text/javascript" src="/js/phalcon.js"></script>
 '

/php-tests/tests/Phalcon/Tag/UnitTest.php:484
/usr/bin/phpunit:46

8) Phalcon\Test\Tag\UnitTest::testJavascriptIncludeWithArrayRemote
JavascriptInclude remote with Array does not return proper html element
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<script type="text/javascript" src="http://my.local.com/js/phalcon.js"></script>
+'<script type="text/javascript" src="/http://my.local.com/js/phalcon.js"></script>
 '

/php-tests/tests/Phalcon/Tag/UnitTest.php:544
/usr/bin/phpunit:46

9) Phalcon\Test\Tag\UnitTest::testJavascriptIncludeWithArrayLocalXHTML
XHTML JavascriptInclude local with Array does not return proper html element
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<script type="text/javascript" src="js/phalcon.js"></script>
+'<script type="text/javascript" src="/js/phalcon.js"></script>
 '

/php-tests/tests/Phalcon/Tag/UnitTest.php:608
/usr/bin/phpunit:46

10) Phalcon\Test\Tag\UnitTest::testJavascriptIncludeWithArrayRemoteXHTML
XHTML JavascriptInclude remote with Array does not return proper html element
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<script type="text/javascript" src="http://my.local.com/js/phalcon.js"></script>
+'<script type="text/javascript" src="/http://my.local.com/js/phalcon.js"></script>
 '

/php-tests/tests/Phalcon/Tag/UnitTest.php:674
/usr/bin/phpunit:46

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions