function testTermLink() { $term_id = $this->factory->term->create(); $term = new TimberTerm($term_id); $this->assertContains('http://', $term->link()); $this->assertContains('http://', $term->get_link()); }
public function get_link() { return $this->term->get_link(); }