Closed Rawi01 closed 7 years ago
Changed the scope query to allow multiple scopes. (Doctrine 2.5.6)
Before: SELECT o0_.scope AS scope0, o0.description AS description_1 FROM oauthscope o0 WHERE o0_.scope IN ('scope1,scope2,scope3');
After SELECT o0_.scope AS scope0, o0.description AS description_1 FROM oauthscope o0 WHERE o0_.scope IN ('scope1', 'scope2', 'scope3');
I also added a unit test but was unable to execute unit tests at all, some configuration problem i guess. Only tested with my symfony application.
This is great! Thank you for finding this, fixing it, and then writing a test. A++!
Changed the scope query to allow multiple scopes. (Doctrine 2.5.6)
Before: SELECT o0_.scope AS scope0, o0.description AS description_1 FROM oauthscope o0 WHERE o0_.scope IN ('scope1,scope2,scope3');
After SELECT o0_.scope AS scope0, o0.description AS description_1 FROM oauthscope o0 WHERE o0_.scope IN ('scope1', 'scope2', 'scope3');
I also added a unit test but was unable to execute unit tests at all, some configuration problem i guess. Only tested with my symfony application.