Skip to content

Commit

Permalink
Merge pull request #19833 from eileenmcnaughton/test
Browse files Browse the repository at this point in the history
Remove safe+mode setting
  • Loading branch information
seamuslee001 authored Mar 19, 2021
2 parents ce76c84 + c5baa13 commit 2902a08
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion ext/afform/core/tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

ini_set('memory_limit', '2G');
ini_set('safe_mode', 0);
// phpcs:disable
eval(cv('php:boot --level=classloader', 'phpcode'));
// phpcs:enable
Expand Down
1 change: 0 additions & 1 deletion ext/afform/mock/tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

ini_set('memory_limit', '2G');
ini_set('safe_mode', 0);
// phpcs:disable
eval(cv('php:boot --level=classloader', 'phpcode'));
// phpcs:enable
Expand Down
1 change: 0 additions & 1 deletion ext/authx/tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

ini_set('memory_limit', '2G');
ini_set('safe_mode', 0);
// phpcs:disable
eval(cv('php:boot --level=classloader', 'phpcode'));
// phpcs:enable
Expand Down
1 change: 0 additions & 1 deletion ext/contributioncancelactions/tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

ini_set('memory_limit', '2G');
ini_set('safe_mode', 0);
// phpcs:disable
eval(cv('php:boot --level=classloader', 'phpcode'));
// phpcs:enable
Expand Down
1 change: 0 additions & 1 deletion ext/ewaysingle/tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

ini_set('memory_limit', '2G');
ini_set('safe_mode', 0);
// phpcs:disable
eval(cv('php:boot --level=classloader', 'phpcode'));
// phpcs:enable
Expand Down
1 change: 0 additions & 1 deletion ext/financialacls/tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

ini_set('memory_limit', '2G');
ini_set('safe_mode', 0);
// phpcs:disable
eval(cv('php:boot --level=classloader', 'phpcode'));
// phpcs:enable
Expand Down
1 change: 0 additions & 1 deletion ext/flexmailer/tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
require_once dirname(dirname(__DIR__)) . '/flexmailer.php';

ini_set('memory_limit', '2G');
ini_set('safe_mode', 0);

// We need to allow CiviUnitTestCase... but may break E2E support....

Expand Down
1 change: 0 additions & 1 deletion ext/oauth-client/tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

ini_set('memory_limit', '2G');
ini_set('safe_mode', 0);
define('CIVICRM_TEST', 1);
// phpcs:disable
eval(cv('php:boot --level=classloader', 'phpcode'));
Expand Down
1 change: 0 additions & 1 deletion ext/sequentialcreditnotes/tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

ini_set('memory_limit', '2G');
ini_set('safe_mode', 0);
// phpcs:ignore
eval(cv('php:boot --level=classloader', 'phpcode'));

Expand Down
1 change: 0 additions & 1 deletion tests/phpunit/CiviTest/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php
// ADAPTED FROM tools/scripts/phpunit

ini_set('safe_mode', 0);
ini_set('include_path', dirname(__DIR__) . PATH_SEPARATOR . ini_get('include_path'));

# Relying on system timezone setting produces a warning,
Expand Down

0 comments on commit 2902a08

Please sign in to comment.