function test06_resources_tag() { // should allow listing resources by tag $result = $this->api->resources_by_tag("api_test_tag"); $resource = $this->find_by_attr($result["resources"], "public_id", "api_test"); $this->assertNotEquals($resource, NULL); }
function test06_resources_tag() { // should allow listing resources by tag Curl::mockApi($this); $this->api->resources_by_tag("foobar"); assertUrl($this, "/resources/image/tags/foobar"); assertGet($this); }