diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-14 19:36:19 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-14 20:04:17 +0100 |
commit | 843066b708c550f610073330c6e75093351e8667 (patch) | |
tree | 9da11ee979672abb79d27ec77cd0fe8d5c441f3f /tests | |
parent | a1b87bc81e818db00e89ec76a9f6df35d9c5448d (diff) | |
download | nextcloud-server-843066b708c550f610073330c6e75093351e8667.tar.gz nextcloud-server-843066b708c550f610073330c6e75093351e8667.zip |
Fix AsyncBusTests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Command/AsyncBusTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Command/AsyncBusTest.php b/tests/lib/Command/AsyncBusTest.php index da168d66e6d..8f07738bec6 100644 --- a/tests/lib/Command/AsyncBusTest.php +++ b/tests/lib/Command/AsyncBusTest.php @@ -136,7 +136,7 @@ abstract class AsyncBusTest extends TestCase { public function testClosureSelf() { $this->getBus()->push(function () { - self::$lastCommand = 'closure-self'; + AsyncBusTest::$lastCommand = 'closure-self'; }); $this->runJobs(); $this->assertEquals('closure-self', self::$lastCommand); @@ -154,7 +154,7 @@ abstract class AsyncBusTest extends TestCase { public function testClosureBind() { $state = 'bar'; $this->getBus()->push(function () use ($state) { - self::$lastCommand = 'closure-' . $state; + AsyncBusTest::$lastCommand = 'closure-' . $state; }); $this->runJobs(); $this->assertEquals('closure-bar', self::$lastCommand); |