Skip to content

Commit

Permalink
update test for image position
Browse files Browse the repository at this point in the history
  • Loading branch information
omzy committed Jan 28, 2018
1 parent 8bafb7c commit 94d9d88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ContentFieldsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ public function testGalleryFieldValue()
$this->assertTrue(strlen($image->url) > 0);
}

// Testing the image in the 6th position
$image = $gallery->get()->get(6);
// Testing the image in the 0th position
$image = $gallery->get()->get(0);
$this->assertEquals(1920, $image->width);
$this->assertEquals(1080, $image->height);
}
Expand Down

0 comments on commit 94d9d88

Please sign in to comment.