Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests not running (or passing) #249

Open
tacman opened this issue Nov 21, 2024 · 0 comments
Open

Unit tests not running (or passing) #249

tacman opened this issue Nov 21, 2024 · 0 comments

Comments

@tacman
Copy link
Contributor

tacman commented Nov 21, 2024

Version(s) affected

1.2.x

Description

It looks like unit tests have been disabled.

https://github.com/Spomky-Labs/pwa-bundle/actions/workflows/tests.yml

How to reproduce

They are failing locally, too.

vendor/bin/phpunit 
PHPUnit 11.4.3 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.3.13
Configuration: /home/tac/g/tacman/pwa-bundle/phpunit.xml.dist

F............FF                                                   15 / 15 (100%)

Time: 00:00.169, Memory: 30.00 MB

There were 6 failures:

1) SpomkyLabs\PwaBundle\Tests\Functional\CompileCommandTest::theFileAreCompiled
assert(self::$kernel !== null)

/home/tac/g/tacman/pwa-bundle/tests/Functional/AbstractPwaTestCase.php:35
/home/tac/g/tacman/pwa-bundle/tests/Functional/AbstractPwaTestCase.php:21

2) SpomkyLabs\PwaBundle\Tests\Functional\CompileCommandTest::theFileAreCompiled
assert(self::$kernel !== null)

/home/tac/g/tacman/pwa-bundle/tests/Functional/AbstractPwaTestCase.php:35
/home/tac/g/tacman/pwa-bundle/tests/Functional/AbstractPwaTestCase.php:29

3) SpomkyLabs\PwaBundle\Tests\Functional\GenerateIconsCommandTest::iconsAreCorrectlyCreated
assert(self::$kernel !== null)

/home/tac/g/tacman/pwa-bundle/tests/Functional/AbstractPwaTestCase.php:35
/home/tac/g/tacman/pwa-bundle/tests/Functional/AbstractPwaTestCase.php:21

4) SpomkyLabs\PwaBundle\Tests\Functional\GenerateIconsCommandTest::iconsAreCorrectlyCreated
assert(self::$kernel !== null)

/home/tac/g/tacman/pwa-bundle/tests/Functional/AbstractPwaTestCase.php:35
/home/tac/g/tacman/pwa-bundle/tests/Functional/AbstractPwaTestCase.php:29

5) SpomkyLabs\PwaBundle\Tests\Functional\TakeScreenshotCommandTest::aScreenshotIsCorrectlyTake
assert(self::$kernel !== null)

/home/tac/g/tacman/pwa-bundle/tests/Functional/AbstractPwaTestCase.php:35
/home/tac/g/tacman/pwa-bundle/tests/Functional/AbstractPwaTestCase.php:21

6) SpomkyLabs\PwaBundle\Tests\Functional\TakeScreenshotCommandTest::aScreenshotIsCorrectlyTake
assert(self::$kernel !== null)

/home/tac/g/tacman/pwa-bundle/tests/Functional/AbstractPwaTestCase.php:35
/home/tac/g/tacman/pwa-bundle/tests/Functional/AbstractPwaTestCase.php:29

FAILURES!
Tests: 15, Assertions: 17, Failures: 6.

Possible Solution

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant