Cloudinary\ArchiveTest::test_expire_at PHP Method

test_expire_at() public method

public test_expire_at ( )
    public function test_expire_at()
    {
        Curl::mockUpload($this);
        Uploader::create_zip(array("tags" => $this->tag, "expire_at" => date('Y-m-d H:i:s', time() + 3600)));
        assertUrl($this, '/image/generate_archive');
        assertParam($this, "target_format", "zip");
        assertParam($this, "tags[0]", $this->tag);
        assertParam($this, "expire_at", NULL, "should support the 'expire_at' parameter");
    }