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