Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3914255
D1604.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
474 B
Referenced Files
None
Subscribers
None
D1604.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D1604: Update tests for PHPUnit 7
Attached
Detach File
Event Timeline
Log In to Comment