assertCacheBusterGenerator example

/** * @internal */
class PathnameStrategyTest extends TestCase
{
    use IntegrationTestBehaviour;
    use MediaFixtures;

    public function testUuidCacheBuster(): void
    {
        $this->assertCacheBusterGenerator($this->getUuidPathnameStrategy());
    }

    public function testUuidFilename(): void
    {
        $this->assertFilenameGenerator($this->getUuidPathnameStrategy());
    }

    public function testUuidEncoding(): void
    {
        $this->assertHashGenerator($this->getUuidPathnameStrategy()$this->getJpgWithFolder(), 8);
        $this->assertHashGenerator($this->getUuidPathnameStrategy()$this->getJpg(), 8);
        
Home | Imprint | This part of the site doesn't use cookies.