KnpU\OAuth2ClientBundle\Tests\DependencyInjection\ConfigurationTest::provideConfigurationTests PHP Method

provideConfigurationTests() public method

    public function provideConfigurationTests()
    {
        $tests = [];
        $tests[] = [[], ['clients' => []]];
        $fbConfig = ['type' => 'facebook', 'client_id' => 'ABC', 'client_secret' => '123', 'graph_api_version' => '2.3', 'redirect_route' => 'my_route', 'redirect_params' => ['foo' => 'bars']];
        $tests[] = [['clients' => ['facebook1' => $fbConfig]], ['clients' => ['facebook1' => $fbConfig]]];
        $tests[] = [['clients' => ['facebook2' => 'some_string']], false];
        return $tests;
    }