diff --git a/tests/Transmission/Tests/TorrentTest.php b/tests/Transmission/Tests/TorrentTest.php index 7845391..b3d18fc 100644 --- a/tests/Transmission/Tests/TorrentTest.php +++ b/tests/Transmission/Tests/TorrentTest.php @@ -17,6 +17,7 @@ public function shouldGetAllTorrents() (object) array( 'id' => 1, 'name' => 'Example 1', + 'sizeWhenDone' => 200, 'trackers' => array( (object) array( 'id' => 1, @@ -59,6 +60,7 @@ public function shouldGetAllTorrents() $this->assertCount(2, $torrents); $this->assertEquals(1, $torrents[0]->getId()); $this->assertEquals('Example 1', $torrents[0]->getName()); + $this->assertEquals(200, $torrents[0]->getSize()); $this->assertInternalType('array', $torrents[0]->getTrackers()); $this->assertCount(1, ($trackers = $torrents[0]->getTrackers())); $this->assertCount(2, ($files = $torrents[0]->getFiles()));