Skip to content

Commit

Permalink
Merge pull request #486 from ergebnis/fix/move
Browse files Browse the repository at this point in the history
Fix: Move tests
  • Loading branch information
localheinz authored Feb 4, 2024
2 parents a8fbb01 + bda2847 commit 514f790
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ jobs:
run: ".phive/box info ${{ env.PHPUNIT_SLOW_TEST_DETECTOR_PHAR }} --ansi --list"

- name: "Run phar tests with phpunit/phpunit"
run: ".phive/phpunit --colors=always --configuration=test/Phar/phpunit.xml"
run: ".phive/phpunit --colors=always --configuration=test/Phar/Version10/phpunit.xml"

dependency-analysis:
name: "Dependency Analysis"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ phar: phive ## Builds a phar with humbug/box
.phive/box compile --config=box.json
git checkout HEAD -- composer.json composer.lock
.phive/box info .build/phar/phpunit-slow-test-detector.phar --list
.phive/phpunit --configuration=test/Phar/phpunit.xml
.phive/phpunit --configuration=test/Phar/Version10/phpunit.xml

.PHONY: phive
phive: .phive ## Installs dependencies with phive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @see https://github.com/ergebnis/phpunit-slow-test-detector
*/

namespace Ergebnis\PHPUnit\SlowTestDetector\Test\Phar;
namespace Ergebnis\PHPUnit\SlowTestDetector\Test\Phar\Version10;

use Ergebnis\PHPUnit\SlowTestDetector\Test;
use PHPUnit\Framework;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
* @see https://github.com/ergebnis/phpunit-slow-test-detector
*/

require_once __DIR__ . '/../Fixture/Sleeper.php';
require_once __DIR__ . '/../../Fixture/Sleeper.php';
2 changes: 1 addition & 1 deletion test/Phar/phpunit.xml → test/Phar/Version10/phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
executionOrder="random"
extensionsDirectory="../../.build/phar/"
extensionsDirectory="../../../.build/phar/"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
Expand Down

0 comments on commit 514f790

Please sign in to comment.