Skip to content

Commit

Permalink
Additional ,
Browse files Browse the repository at this point in the history
  • Loading branch information
dshanske committed Nov 6, 2022
1 parent 68b2dda commit 284b5cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test-weather-data.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function test_set_and_get_post_temperature() {
public function test_set_and_get_post_weatherdata() {
$post_id = $this->factory()->post->create();
set_post_weatherdata( $post_id, '', static::$weather );
$this->assertEquals( static::$weather, get_post_weatherdata( $post_id ), );
$this->assertEquals( static::$weather, get_post_weatherdata( $post_id ) );
}

public function test_set_and_get_old_post_weatherdata() {
Expand All @@ -42,7 +42,7 @@ public function test_save_meta_from_POST() {
$_POST = static::$weather;
$post_id = $this->factory()->post->create();
Geo_Base::save_meta( 'post', $post_id, false );
Assert::assertArraySubset( static::$weather, get_post_weatherdata( $post_id ), );
Assert::assertArraySubset( static::$weather, get_post_weatherdata( $post_id ) );
}

}
Expand Down

0 comments on commit 284b5cd

Please sign in to comment.