From 2d2417d007c0805afbda7e63a24fd6e8305abe0c Mon Sep 17 00:00:00 2001 From: tito10047 Date: Tue, 27 Aug 2024 17:52:26 +0200 Subject: [PATCH] updated composer.json --- composer.json | 3 +++ tests/MultiLevelStackTest.php | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) 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));