Matthias Mullie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/188545

Change subject: Hygiene: PostRevisionTestCase cleanup
......................................................................

Hygiene: PostRevisionTestCase cleanup

* Non-existing namespace was being used - corrected
* Removed assignment of unused var

Change-Id: I7478b9f9c29b0ad9d9521e1883bd31194a80eb93
---
M tests/phpunit/PostRevisionTestCase.php
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/45/188545/1

diff --git a/tests/phpunit/PostRevisionTestCase.php 
b/tests/phpunit/PostRevisionTestCase.php
index 03edf01..c16f69b 100644
--- a/tests/phpunit/PostRevisionTestCase.php
+++ b/tests/phpunit/PostRevisionTestCase.php
@@ -6,8 +6,8 @@
 use Flow\Container;
 use Flow\Data\Index\BoardHistoryIndex;
 use Flow\Data\Listener\NotificationListener;
+use Flow\Data\Listener\RecentChangesListener;
 use Flow\Data\ObjectManager;
-use Flow\Data\RecentChanges\RecentChanges as RecentChangesListener;
 use Flow\Model\AbstractRevision;
 use Flow\Model\PostRevision;
 use Flow\Model\Workflow;
@@ -134,7 +134,6 @@
                if ( $this->workflow ) {
                        return $this->workflow;
                }
-               $tuple = UserTuple::newFromUser( User::newFromName( 'UTSysop' ) 
);
 
                $row = array(
                        'workflow_id' => UUID::create()->getBinary(),
@@ -225,7 +224,7 @@
                                                // scope of these tests
                                                && !$handler instanceof 
NotificationListener
                                                // BoardHistory requires we 
also wire together TopicListEntry objects for
-                                               // each revision, but thats 
also beyond our scope.
+                                               // each revision, but that's 
also beyond our scope.
                                                && !$handler instanceof 
BoardHistoryIndex;
                                }
                        );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7478b9f9c29b0ad9d9521e1883bd31194a80eb93
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to