get('/') ->assertSuccessful() ->assertSee('Persönlich gemacht', false); }); it('uses German labels for the legal links', function () { $this->get('/') ->assertSuccessful() ->assertSee('Datenschutz') ->assertSee('Cookie-Richtlinie') ->assertSee('Impressum') ->assertDontSee('Privacy Policy') ->assertDontSee('Terms of Service') ->assertDontSee('Cookie Policy'); }); it('links the FAQ from the footer', function () { $this->get('/') ->assertSuccessful() ->assertSee('Häufige Fragen', false) ->assertSee('/faq'); }); it('takes the footer claim from the CMS when one is stored', function () { \FluxCms\Core\Models\CmsContent::create([ 'group' => 'global', 'key' => 'footer', 'type' => 'json', 'value' => ['de' => ['claim' => 'Aus dem CMS gepflegt', 'byline' => 'Marcel Scheibe', 'links' => []]], 'order' => 0, ]); $this->get('/') ->assertSuccessful() ->assertSee('Aus dem CMS gepflegt'); });