Krinkle has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/349127 )

Change subject: tests: Avoid use of ':class' to fix test run on PHP 5.4
......................................................................

tests: Avoid use of ':class' to fix test run on PHP 5.4

Follows-up 28ce7b1553 which broke the build at
<https://travis-ci.org/wikimedia/cdb/builds/223764274>

Change-Id: I72ffc9778415d4ab29e2fee388a37fe35ff7e040
---
M tests/CdbTest.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/cdb refs/changes/27/349127/1

diff --git a/tests/CdbTest.php b/tests/CdbTest.php
index 2ed655e..2ea5a15 100644
--- a/tests/CdbTest.php
+++ b/tests/CdbTest.php
@@ -58,7 +58,7 @@
         */
        public function testReaderOpen() {
                $this->assertInstanceOf(
-                       Reader::class,
+                       'Cdb\Reader',
                        Reader::open( $this->phpCdbFile )
                );
        }
@@ -68,7 +68,7 @@
         */
        public function testWriterOpen() {
                $this->assertInstanceOf(
-                       Writer::class,
+                       'Cdb\Writer',
                        Writer::open( $this->phpCdbFile )
                );
        }
@@ -165,7 +165,7 @@
        public function testDestruct() {
                $w = new Writer\PHP( $this->phpCdbFile );
                $this->assertInstanceOf(
-                       Writer\PHP::class,
+                       'Cdb\Writer\PHP',
                        $w
                );
                $w = null;

-- 
To view, visit https://gerrit.wikimedia.org/r/349127
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I72ffc9778415d4ab29e2fee388a37fe35ff7e040
Gerrit-PatchSet: 1
Gerrit-Project: cdb
Gerrit-Branch: master
Gerrit-Owner: Krinkle <krinklem...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to