Testing in ember-cli with third-party authentication on a PHP backend -
i have app uses ember-simple-auth google authentication. requests php backend authorized google access token, backend checks google before doing else. understand ember-simple-auth has testing package, how go testing app?
the backend part of app's repository, under app/api/.
an approach customise php code depending on environment (importing config/environment.js), it's on backend , it's written in php.
you don't want ember cli tests depend on backend can use ember-simple-auth-testing give readily authenticated session without interacting server @ all.
Comments
Post a Comment