diff --git a/composer.json b/composer.json index ce6a812..9e3ac0c 100644 --- a/composer.json +++ b/composer.json @@ -25,5 +25,8 @@ }, "require-dev": { "phpunit/phpunit": "^10.5" + }, + "scripts": { + "test": "vendor/phpunit/phpunit/phpunit --no-configuration ./tests" } } diff --git a/tests/MultiLevelStackTest.php b/tests/MultiLevelStackTest.php index 7a86899..e0148b4 100644 --- a/tests/MultiLevelStackTest.php +++ b/tests/MultiLevelStackTest.php @@ -20,7 +20,6 @@ public function testBasics(): void $this->callLevel(1, function ($item) use (&$stack) { $stack[] = $item; }); - var_dump($stack); for ($level = 3; $level >= 1; $level--) { for ($i = 3; $i >= 0; $i--) { $this->assertEquals("{$level}:{$i}", array_shift($stack));