App\Tests\Auth\OAuthServerTest::itResolvesClientFromId PHP Method

itResolvesClientFromId() public method

    public function itResolvesClientFromId()
    {
        $resolver = app(ClientResolverInterface::class);
        DB::table('oauth_clients')->insert(['id' => '12345', 'secret' => '12345', 'name' => 'Testing Env', 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now()->format('Y-m-d H:i:s')]);
        $this->assertEquals('12345', $resolver->resolveById('12345')->id);
    }