feat: engagment notifications

This commit is contained in:
2026-05-26 11:55:39 +02:00
parent df94a23a19
commit f716a205ce
13 changed files with 65 additions and 24 deletions
+3 -1
View File
@@ -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 () {