Page MenuHomeDevCentral

D1604.diff
No OneTemporary

D1604.diff

diff --git a/tests/coreTest.php b/tests/coreTest.php
--- a/tests/coreTest.php
+++ b/tests/coreTest.php
@@ -4,7 +4,7 @@
require 'core.php';
-class CoreTest extends \PHPUnit_Framework_Testcase {
+class CoreTest extends \PHPUnit\Framework\TestCase {
///
/// Strings
@@ -143,6 +143,7 @@
/**
* @covers ::get_remote_addr
+ * @backupGlobals enabled
*/
function test_get_remote_addr () {
$this->assertEmpty(get_remote_addr());

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 13:57 (21 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2308128
Default Alt Text
D1604.diff (474 B)

Event Timeline