add getCreationDate method

This commit is contained in:
itismadness
2020-10-03 20:31:03 +00:00
parent 5ce1e6c6cc
commit ca9617422a
2 changed files with 13 additions and 6 deletions
+1
View File
@@ -144,6 +144,7 @@ class BencodeTorrentTest extends \PHPUnit\Framework\TestCase
]
];
$this->assertEquals($file_list, $bencode->getFileList());
$this->assertSame(1425699508, $bencode->getCreationDate());
}
public function testSetData(): void