refactor: hardcode Bowli mobile scheme
This commit is contained in:
@@ -38,8 +38,6 @@ it('returns a strava authorization url for the api callback', function () {
|
||||
});
|
||||
|
||||
it('redirects the strava web callback to the mobile app', function () {
|
||||
config()->set('app.mobile_scheme', 'dailymeal');
|
||||
|
||||
$query = http_build_query([
|
||||
'code' => 'authorization-code',
|
||||
'scope' => 'read activity:read',
|
||||
@@ -48,7 +46,7 @@ it('redirects the strava web callback to the mobile app', function () {
|
||||
|
||||
$this
|
||||
->get("/strava/callback?{$query}")
|
||||
->assertRedirect("dailymeal://strava/callback?{$query}");
|
||||
->assertRedirect("bowli://strava/callback?{$query}");
|
||||
});
|
||||
|
||||
it('stores strava tokens from an authorization code', function () {
|
||||
|
||||
Reference in New Issue
Block a user