Skip to content

Commit 44bd4bd

Browse files
committed
MQE-1765: Introduce API Endpoint and Request Headers to Allure artifact
- PHPUnit test fix
1 parent b5ea617 commit 44bd4bd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dev/tests/unit/Magento/FunctionalTestFramework/Allure/AllureHelperTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class AllureHelperTest extends TestCase
2525
public function tearDown()
2626
{
2727
Allure::setDefaultLifecycle();
28+
AspectMock::clean();
2829
}
2930

3031
/**
@@ -85,6 +86,10 @@ public function testAddAttachmentToLastStep()
8586
$this->assertEmpty($thirdStep->getAttachments());
8687
}
8788

89+
/**
90+
* AddAttachment actions should have files with different attachment names
91+
* @throws \Yandex\Allure\Adapter\AllureException
92+
*/
8893
public function testAddAttachementUniqueName()
8994
{
9095
$this->mockCopyFile();

0 commit comments

Comments
 (0)