Closed cbleek closed 3 years ago
If you composer require yawik/demo-skin, add 'YawikDemoSkin' to your config/modules.php and run ./vendor/bin/phpunit, you'll notice some Test get broken.
composer require yawik/demo-skin
Maybe because of the depricated https://gitlab.com/yawik/modules/DemoSkin
the errors
1) AuthTest\Controller\ManageControllerTest::testAccessWhenLoggedIn Undefined index: REQUEST_URI /home/cbleek/yawik/vendor/yawik/demo-skin/view/layout.phtml:48 /home/cbleek/yawik/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:505 /home/cbleek/yawik/vendor/laminas/laminas-view/src/View.php:206 /home/cbleek/yawik/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php:104 /home/cbleek/yawik/vendor/laminas/laminas-eventmanager/src/EventManager.php:331 /home/cbleek/yawik/vendor/laminas/laminas-eventmanager/src/EventManager.php:180 /home/cbleek/yawik/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php:122 /home/cbleek/yawik/vendor/laminas/laminas-eventmanager/src/EventManager.php:331 /home/cbleek/yawik/vendor/laminas/laminas-eventmanager/src/EventManager.php:180 /home/cbleek/yawik/vendor/laminas/laminas-mvc/src/Application.php:366 /home/cbleek/yawik/vendor/laminas/laminas-mvc/src/Application.php:347 /home/cbleek/yawik/vendor/laminas/laminas-test/src/PHPUnit/Controller/AbstractControllerTestCase.php:319 /home/cbleek/yawik/module/Auth/test/AuthTest/Controller/ManageControllerTest.php:56 2) AuthTest\Controller\PasswordControllerFunctionalTest::testAccessWhenYouAreLogged Undefined index: REQUEST_URI /home/cbleek/yawik/vendor/yawik/demo-skin/view/layout.phtml:48 /home/cbleek/yawik/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:505 /home/cbleek/yawik/vendor/laminas/laminas-view/src/View.php:206 /home/cbleek/yawik/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php:104 /home/cbleek/yawik/vendor/laminas/laminas-eventmanager/src/EventManager.php:331 /home/cbleek/yawik/vendor/laminas/laminas-eventmanager/src/EventManager.php:180 /home/cbleek/yawik/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php:122 /home/cbleek/yawik/vendor/laminas/laminas-eventmanager/src/EventManager.php:331 /home/cbleek/yawik/vendor/laminas/laminas-eventmanager/src/EventManager.php:180 /home/cbleek/yawik/vendor/laminas/laminas-mvc/src/Application.php:366 /home/cbleek/yawik/vendor/laminas/laminas-mvc/src/Application.php:347 /home/cbleek/yawik/vendor/laminas/laminas-test/src/PHPUnit/Controller/AbstractControllerTestCase.php:319 /home/cbleek/yawik/module/Auth/test/AuthTest/Controller/PasswordControllerFunctionalTest.php:79 3) AuthTest\Controller\PasswordControllerFunctionalTest::testAccessWhenYouAreNotLoggedIn Undefined index: REQUEST_URI /home/cbleek/yawik/vendor/yawik/demo-skin/view/layout.phtml:48 /home/cbleek/yawik/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:505 /home/cbleek/yawik/vendor/laminas/laminas-view/src/View.php:206 /home/cbleek/yawik/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php:104 /home/cbleek/yawik/vendor/laminas/laminas-eventmanager/src/EventManager.php:331 /home/cbleek/yawik/vendor/laminas/laminas-eventmanager/src/EventManager.php:180 /home/cbleek/yawik/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php:122 /home/cbleek/yawik/vendor/laminas/laminas-eventmanager/src/EventManager.php:331 /home/cbleek/yawik/vendor/laminas/laminas-eventmanager/src/EventManager.php:180 /home/cbleek/yawik/vendor/laminas/laminas-mvc/src/Application.php:366 /home/cbleek/yawik/vendor/laminas/laminas-mvc/src/Application.php:325 /home/cbleek/yawik/vendor/laminas/laminas-test/src/PHPUnit/Controller/AbstractControllerTestCase.php:319 /home/cbleek/yawik/module/Auth/test/AuthTest/Controller/PasswordControllerFunctionalTest.php:89
The upstream of YawikDemoSkin has moved to https://gitlab.com/yawik/modules/DemoSkin
Commits to the master are deployed to https://yawik.org/demo. The repo is replicated to github.com/yawik/DemoSkin
@cbleek I am start working on this issue
@cbleek
this should be fixed in https://github.com/yawik/DemoSkin/commit/83be800c2a8fc2eed1d6c0c1b9403368db687047 commit
If you
composer require yawik/demo-skin
, add 'YawikDemoSkin' to your config/modules.php and run ./vendor/bin/phpunit, you'll notice some Test get broken.Maybe because of the depricated https://gitlab.com/yawik/modules/DemoSkin
the errors
The upstream of YawikDemoSkin has moved to https://gitlab.com/yawik/modules/DemoSkin
Commits to the master are deployed to https://yawik.org/demo. The repo is replicated to github.com/yawik/DemoSkin