diff --git a/tests/Stubs/IndividualScopeControllerStub.php b/tests/Stubs/IndividualScopeControllerStub.php index 8b45df459..8b2d281b6 100644 --- a/tests/Stubs/IndividualScopeControllerStub.php +++ b/tests/Stubs/IndividualScopeControllerStub.php @@ -11,7 +11,7 @@ class IndividualScopeControllerStub extends Controller public function __construct() { - $this->scope(['foo', 'bar'], 'index'); + $this->scopes(['foo', 'bar'], 'index'); } public function index() diff --git a/tests/Stubs/WildcardScopeControllerStub.php b/tests/Stubs/WildcardScopeControllerStub.php index 5fd1cbcea..ca4b6e600 100644 --- a/tests/Stubs/WildcardScopeControllerStub.php +++ b/tests/Stubs/WildcardScopeControllerStub.php @@ -11,7 +11,7 @@ class WildcardScopeControllerStub extends Controller public function __construct() { - $this->scope(['foo', 'bar']); + $this->scopes(['foo', 'bar']); } public function index()