feat: engagment notifications
This commit is contained in:
@@ -38,6 +38,8 @@ 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',
|
||||
@@ -46,7 +48,7 @@ it('redirects the strava web callback to the mobile app', function () {
|
||||
|
||||
$this
|
||||
->get("/strava/callback?{$query}")
|
||||
->assertRedirect("bowly://strava/callback?{$query}");
|
||||
->assertRedirect("dailymeal://strava/callback?{$query}");
|
||||
});
|
||||
|
||||
it('stores strava tokens from an authorization code', function () {
|
||||
|
||||
Reference in New Issue
Block a user