[MediaWiki-commits] [Gerrit] cdb[master]: tests: Avoid use of ':class' to fix test run on PHP 5.4

2017-04-20 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
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


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

Approvals:
  Aaron Schulz: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I72ffc9778415d4ab29e2fee388a37fe35ff7e040
Gerrit-PatchSet: 1
Gerrit-Project: cdb
Gerrit-Branch: master
Gerrit-Owner: Krinkle 
Gerrit-Reviewer: Aaron Schulz 
Gerrit-Reviewer: jenkins-bot <>

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


[MediaWiki-commits] [Gerrit] cdb[master]: tests: Avoid use of ':class' to fix test run on PHP 5.4

2017-04-19 Thread Krinkle (Code Review)
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


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 

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