Skip to content

Commit 639a7a5

Browse files
anzinandrewbess
authored andcommitted
AC-2355: setting error_reporting to E_ALL in the test
1 parent 7e78c28 commit 639a7a5

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

dev/tests/api-functional/framework/bootstrap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
require_once __DIR__ . '/../../../../app/bootstrap.php';
1111
require_once __DIR__ . '/autoload.php';
1212

13+
error_reporting(E_ALL);
1314
$testsBaseDir = dirname(__DIR__);
1415
$integrationTestsDir = realpath("{$testsBaseDir}/../integration");
1516
$fixtureBaseDir = $integrationTestsDir . '/testsuite';

dev/tests/integration/framework/bootstrap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
require_once __DIR__ . '/../../../../app/bootstrap.php';
1414
require_once __DIR__ . '/autoload.php';
1515

16+
error_reporting(E_ALL);
1617
// phpcs:ignore Magento2.Functions.DiscouragedFunction
1718
$testsBaseDir = dirname(__DIR__);
1819
$fixtureBaseDir = $testsBaseDir. '/testsuite';

dev/tests/setup-integration/framework/bootstrap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
//to handle different types of errors on CI
1313
require __DIR__ . '/../../error_handler.php';
1414

15+
error_reporting(E_ALL);
1516
$testsBaseDir = dirname(__DIR__);
1617
$integrationTestsDir = realpath("{$testsBaseDir}/../integration");
1718
$fixtureBaseDir = $integrationTestsDir . '/testsuite';

0 commit comments

Comments
 (0)