Example #1
0
 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://'));
 }
Example #2
0
 public function get_path()
 {
     return $this->term->get_path();
 }