Skip to content

Test failing since last merge #252

@froozeify

Description

@froozeify

I've saw that the test keep failing since the last merge.

Here is the cause I could find in the logs

1) Trikoder\Bundle\OAuth2Bundle\Tests\Integration\AuthorizationServerTest::testValidClientCredentialsGrantWithInheritedScope
Undefined index: access_token

/app/src/Tests/Integration/AuthorizationServerTest.php:238

2) Trikoder\Bundle\OAuth2Bundle\Tests\Integration\AuthorizationServerTest::testValidClientCredentialsGrantWithRequestedScope
Undefined index: access_token

/app/src/Tests/Integration/AuthorizationServerTest.php:272

--

There was 1 failure:

1) Trikoder\Bundle\OAuth2Bundle\Tests\Integration\AuthorizationServerTest::testRestrictedScopeClient
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'invalid_scope'
+'invalid_client'

/app/src/Tests/Integration/AuthorizationServerTest.php:131

My dev environment is not operational to fix those errors (don't have installed ext-timecop and ext-xdebug that are required in the dev dependencies...).

If someone could fix this that'll be great :-) Otherwise I'll do it, but I won't be able to do it until a long time (busy working and also busy with my other PR ;-) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions