diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0dcb82f..f96a092 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -39,6 +39,9 @@ jobs: - name: Install dependencies run: composer install --prefer-dist --no-interaction --no-suggest + - name: Run initial testing Docker container + run: docker run --name docker_php_initial_container -d alpine:3.18 + - name: Execute tests run: vendor/bin/pest -c phpunit.dist.xml --coverage-clover clover.xml diff --git a/tests/ContainersTest.php b/tests/ContainersTest.php index ce1b6b9..581013c 100644 --- a/tests/ContainersTest.php +++ b/tests/ContainersTest.php @@ -36,7 +36,7 @@ }); test('get container by ID returns array', function () { - $container = $this->client->getContainer('ec214ba23641'); + $container = $this->client->getContainer('docker_php_initial_container'); expect($container)->toBeArray(); expect($container)->toHaveKeys([