Skip to content

Commit 499ba4f

Browse files
Revert "Enable assert ini setting"
This reverts commit 637dd23.
1 parent 637dd23 commit 499ba4f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/unit/PluginTest.php

-5
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ public function testCanAssert() : void
6969
*/
7070
public function testCanCatchFailedAssertion() : void
7171
{
72-
$initValue = ini_get('zend.assertions');
73-
ini_set('zend.assertions', 1);
74-
7572
WP_Mock::userFunction('wp_debug_backtrace_summary')
7673
->once()
7774
->andReturn('TEST_DEBUG_BACKTRACE_SUMMARY');
@@ -87,7 +84,5 @@ public function testCanCatchFailedAssertion() : void
8784
$this->assertNull(
8885
$this->invokeInaccessibleMethod($this->testObject, 'assert', false)
8986
);
90-
91-
ini_set('zend.assertions', $initValue);
9287
}
9388
}

0 commit comments

Comments
 (0)