function testTermPath() { $term_id = $this->factory->term->create(); $term = new TimberTerm($term_id); $this->assertFalse(strstr($term->path(), 'http://')); $this->assertFalse(strstr($term->get_path(), 'http://')); }
public function get_path() { return $this->term->get_path(); }