publicFilm(); $trailer = $this->clip('Trailer Denkpause'); $image = $this->image('Foto Denkpause'); $this->assign($film, 'trailer', $trailer); $this->release($trailer); $this->release($image); $this->publish('/hero-video', $this->hero($film, ['image' => $image->id])); $html = $this->get('/hero-video')->assertOk()->getContent(); $hero = $this->heroHtml($html); $this->assertStringContainsString('data-hero-video', $hero); $this->assertStringContainsString('data-clip-src="'.route('website.media', $trailer).'"', $hero); $this->assertStringContainsString('