Created
November 23, 2017 20:51
-
-
Save christophherr/6702b80af595855958d68b6b2b66d42b to your computer and use it in GitHub Desktop.
Beans unit test failures on windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\laragon\www\beans\wp-content\themes\Beans (windows-fix -> tonya) | |
λ composer test-unit | |
> "vendor/bin/phpunit" --testsuite unit | |
PHPUnit 5.7.25 by Sebastian Bergmann and contributors. | |
Runtime: PHP 7.1.11 | |
Configuration: C:\laragon\www\beans\wp-content\themes\Beans\phpunit.xml.dist | |
Error: No code coverage driver is available | |
.....................................F...FFFFFFFFFFFFFF 55 / 55 (100%) | |
Time: 354 ms, Memory: 12.00MB | |
There were 15 failures: | |
1) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansSanitizePath::test_should_sanitize_for_filesystem | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansSanitizePath.php:36 | |
2) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_should_convert_domain_url | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:98 | |
3) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_should_convert_ip_address | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:127 | |
4) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_should_convert_domain_and_removes_subfolder | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests/blog/ | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests/blog/ | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:158 | |
5) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_should_convert_ip_and_removes_subfolder | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests/blog/ | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests/blog/ | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:181 | |
6) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_should_convert_domain_and_removes_subfolders | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests/blog/ | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests/blog/ | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:205 | |
7) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_should_convert_ip_and_removes_subfolders | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests/blog/ | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests/blog/ | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:228 | |
8) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_should_convert_relative_urls | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:251 | |
9) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_should_convert_relative_ip_address | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:269 | |
10) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_should_convert_url_and_remove_tilde | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:285 | |
11) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_should_convert_ip_and_remove_tilde | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:299 | |
12) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_converts_domain_for_subdirectory_multisite | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:316 | |
13) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_converts_ip_for_subdirectory_multisite | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:332 | |
14) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_converts_domain_for_subdomain_multisite | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:347 | |
15) Beans\Framework\Tests\UnitTests\API\Utilities\Tests_BeansUrlToPath::test_converts_ip_for_subdomain_multisite | |
Failed asserting that two strings are identical. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests | |
+/laragon/www/beans/wp-content/themes/Beans/tests/phpunit/unit-tests | |
C:\laragon\www\beans\wp-content\themes\Beans\tests\phpunit\unit-tests\api\utilities\beansUrlToPath.php:362 | |
FAILURES! | |
Tests: 55, Assertions: 145, Failures: 15. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment