Skip to content

Commit

Permalink
fix tests ci
Browse files Browse the repository at this point in the history
  • Loading branch information
d8vjork committed Feb 26, 2024
1 parent b233389 commit 46862b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tests/ContainersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down

0 comments on commit 46862b3

Please sign in to comment.