Skip to content

Commit

Permalink
Fixing the category test - results are different between the php-vers…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
andizer committed Oct 1, 2014
1 parent a50b8f2 commit 681c32a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test-class-opengraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,9 @@ public function test_description_single_post() {
*/
public function test_description_category() {

$expected_meta_description = 'Term description 1';

// Creates the category
$category_id = $this->factory->category->create();
$expected_meta_description = '';

$category_id = wp_create_category( 'WordPress SEO' );
$this->go_to( get_category_link( $category_id ) );

// Checking meta-description and after obtaining its value, reset the meta value for it
Expand Down

0 comments on commit 681c32a

Please sign in to comment.