- Timestamp:
- 10/17/2015 06:02:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/category/getCategoryParents.php
r35225 r35242 11 11 parent::setUp(); 12 12 13 $this->c1 = self:: $factory->category->create_and_get();14 $this->c2 = self:: $factory->category->create_and_get( array(13 $this->c1 = self::factory()->category->create_and_get(); 14 $this->c2 = self::factory()->category->create_and_get( array( 15 15 'parent' => $this->c1->term_id, 16 16 ) ); … … 52 52 53 53 public function test_visited() { 54 $c3 = self:: $factory->category->create_and_get( array(54 $c3 = self::factory()->category->create_and_get( array( 55 55 'parent' => $this->c2->term_id, 56 56 ) ); 57 $c4 = self:: $factory->category->create_and_get( array(57 $c4 = self::factory()->category->create_and_get( array( 58 58 'parent' => $c3->term_id, 59 59 ) );
Note: See TracChangeset
for help on using the changeset viewer.