Skip to content

Commit c2abc31

Browse files
committed
fix: update test film data
1 parent 7639363 commit c2abc31

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/ImdbTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ public function testFilm()
1919
$this->assertEquals('Sci-Fi', $film['genres'][2]);
2020
$this->assertEquals('2h 49m', $film['length']);
2121
$this->assertEquals('2014', $film['year']);
22-
$this->assertEquals("A team of explorers travel through a wormhole in space in an attempt to ensure humanity's survival.", $film['plot']);
23-
$this->assertEquals('8.6', $film['rating']);
22+
$this->assertEquals("When Earth becomes uninhabitable in the future, a farmer and ex-NASA pilot, Joseph Cooper, is tasked to pilot a spacecraft, along with a team of researchers, to find a new planet for humans.", $film['plot']);
23+
$this->assertEquals('8.7', $film['rating']);
2424
$this->assertEquals('vi1586278169', $film['trailer']["id"]);
2525
$this->assertEquals('https://www.imdb.com/video/vi1586278169', $film['trailer']["link"]);
2626
$this->assertContains($film['cast'][0]["character"], ['Cooper']);
@@ -41,8 +41,8 @@ public function testFilmBySearching()
4141
$this->assertEquals('Sci-Fi', $film['genres'][2]);
4242
$this->assertEquals('2h 49m', $film['length']);
4343
$this->assertEquals('2014', $film['year']);
44-
$this->assertEquals("A team of explorers travel through a wormhole in space in an attempt to ensure humanity's survival.", $film['plot']);
45-
$this->assertEquals('8.6', $film['rating']);
44+
$this->assertEquals("When Earth becomes uninhabitable in the future, a farmer and ex-NASA pilot, Joseph Cooper, is tasked to pilot a spacecraft, along with a team of researchers, to find a new planet for humans.", $film['plot']);
45+
$this->assertEquals('8.7', $film['rating']);
4646
$this->assertEquals('vi1586278169', $film['trailer']["id"]);
4747
$this->assertEquals('https://www.imdb.com/video/vi1586278169', $film['trailer']["link"]);
4848
$this->assertContains($film['cast'][0]["character"], ['Cooper']);

0 commit comments

Comments
 (0)