Skip to content

Commit efe03c3

Browse files
committed
DEVOPS-2174: Fix integration tests
1 parent 7894704 commit efe03c3

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

dev/tests/integration/framework/Magento/TestFramework/Annotation/DataFixture.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,12 @@ protected function _applyOneFixture($fixture)
172172
}
173173
} catch (\Exception $e) {
174174
throw new \PHPUnit_Framework_Exception(
175-
sprintf("Error in fixture: %s.\n %s\n %s", json_encode($fixture), $e->getMessage(), $e->getTraceAsString()),
175+
sprintf(
176+
"Error in fixture: %s.\n %s\n %s",
177+
json_encode($fixture),
178+
$e->getMessage(),
179+
$e->getTraceAsString()
180+
),
176181
500,
177182
$e
178183
);

dev/tests/integration/framework/Magento/TestFramework/Annotation/DataFixtureBeforeTransaction.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,12 @@ protected function _applyOneFixture($fixture)
139139
}
140140
} catch (\Exception $e) {
141141
throw new \PHPUnit_Framework_Exception(
142-
sprintf("Error in fixture: %s.\n %s\n %s", json_encode($fixture), $e->getMessage(), $e->getTraceAsString()),
142+
sprintf(
143+
"Error in fixture: %s.\n %s\n %s",
144+
json_encode($fixture),
145+
$e->getMessage(),
146+
$e->getTraceAsString()
147+
),
143148
500,
144149
$e
145150
);

0 commit comments

Comments
 (0)