Changeset 35225 for trunk/tests/phpunit/tests/rewrite/oldSlugRedirect.php
- Timestamp:
- 10/16/2015 09:04:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rewrite/oldSlugRedirect.php
r34810 r35225 13 13 parent::setUp(); 14 14 15 $this->post_id = $this->factory->post->create( array(15 $this->post_id = self::$factory->post->create( array( 16 16 'post_title' => 'Foo Bar', 17 17 'post_name' => 'foo-bar', … … 100 100 public function test_old_slug_redirect_attachment() { 101 101 $file = DIR_TESTDATA . '/images/canola.jpg'; 102 $attachment_id = $this->factory->attachment->create_object( $file, $this->post_id, array(102 $attachment_id = self::$factory->attachment->create_object( $file, $this->post_id, array( 103 103 'post_mime_type' => 'image/jpeg', 104 104 'post_name' => 'my-attachment',
Note: See TracChangeset
for help on using the changeset viewer.