Skip to content

Commit

Permalink
See #760: Fix property getter tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stoyan0v committed Feb 21, 2018
1 parent 0e6e84e commit 0505acb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test-property-getter.php
Expand Up @@ -118,8 +118,8 @@ public function test_url_no_permalink() {
/** @var Wordlift_Property_Entity_Reference[] $values */
$values = $this->property_getter->get( $this->post_id, Wordlift_Url_Property_Service::META_KEY );
$this->assertTrue( is_array( $values ) );
$this->assertCount( 1, $values );
$this->assertEquals( $expected, $values[0] );
$this->assertCount( 2, $values );
$this->assertContains( $expected, $values[0] );
}

/**
Expand Down

0 comments on commit 0505acb

Please sign in to comment.