tests/TestCase.php
/**
     * Define the blog-etc-admin gate to deny access to any user.
     */
Define the blog-etc-admin gate to deny access to any user.
Define the blog - etc - admin gate to deny access to any user .
protected function denyAdminGate(): void
    {
        Gate::define('blog-etc-admin', static function ($user) {
            return false;
        });
    }
protected function denyAdminGate ( ) : void { Gate :: define ( 'blog-etc-admin' , static function ( $ user ) { return false ; } ) ; }
Define the blog-etc-admin gate to deny access to any user.
Define the blog - etc - admin gate to deny access to any user .