get('/telecharger'); $response->assertStatus(200); $response->assertSee('Android'); $response->assertSee('iOS'); } public function test_un_lien_de_store_configure_est_utilise(): void { config(['mobile.android.url' => 'https://play.google.com/store/apps/details?id=test']); $response = $this->get('/telecharger'); $response->assertStatus(200); $response->assertSee('play.google.com/store/apps/details?id=test'); } public function test_sans_binaire_ni_lien_le_bouton_est_indisponible(): void { config(['mobile.ios.url' => null]); $response = $this->get('/telecharger'); $response->assertStatus(200); $response->assertSee('Bientôt disponible'); } }