Skip to content

Commit ffad875

Browse files
authored
fix container write (fixes allure-framework#60, via allure-framework#61)
1 parent 86b8e7a commit ffad875

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[![Latest Stable Version](http://poser.pugx.org/allure-framework/allure-phpunit/v)](https://packagist.org/packages/allure-framework/allure-phpunit)
44
[![Build](https://github.com/allure-framework/allure-phpunit/actions/workflows/build.yml/badge.svg)](https://github.com/allure-framework/allure-phpunit/actions/workflows/build.yml)
5+
[![Type Coverage](https://shepherd.dev/github/allure-framework/allure-phpunit/coverage.svg)](https://shepherd.dev/github/allure-framework/allure-phpunit)
6+
[![Psalm Level](https://shepherd.dev/github/allure-framework/allure-phpunit/level.svg)](https://shepherd.dev/github/allure-framework/allure-phpunit)
57
[![Total Downloads](http://poser.pugx.org/allure-framework/allure-phpunit/downloads)](https://packagist.org/packages/allure-framework/allure-phpunit)
68
[![License](http://poser.pugx.org/allure-framework/allure-phpunit/license)](https://packagist.org/packages/allure-framework/allure-phpunit)
79

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"vendor/bin/paratest --processes=3 --configuration=phpunit.report.xml --testsuite=negative & exit 0",
7171
"vendor/bin/paratest --processes=3 --configuration=phpunit.report.xml --testsuite=retries --repeat=3 & exit 0"
7272
],
73-
"test-psalm": "vendor/bin/psalm",
73+
"test-psalm": "vendor/bin/psalm --shepherd",
7474
"test": [
7575
"@test-cs",
7676
"@test-unit",

src/Internal/TestLifecycle.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ public function write(): self
9898
$this->lifecycle->writeTest(
9999
$this->adapter->getTestId($this->getCurrentTest()),
100100
);
101+
$this->lifecycle->writeContainer(
102+
$this->adapter->getContainerId($this->getCurrentTest()),
103+
);
101104

102105
return $this;
103106
}

0 commit comments

Comments
 (0)