Skip to content

Commit f8b49ce

Browse files
committed
Fix getMockbuilder className().
1 parent c56bccd commit f8b49ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/framework/console/controllers/ServeControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testAddressTaken()
2929
$docroot = __DIR__ . '/stub';
3030

3131
/** @var ServeController $serveController */
32-
$serveController = $this->getMockBuilder('yii\console\controllers\ServeControllerMock')
32+
$serveController = $this->getMockBuilder(ServeControllerMocK::className())
3333
->setConstructorArgs(['serve', Yii::$app])
3434
->setMethods(['isAddressTaken'])
3535
->getMock();

0 commit comments

Comments
 (0)