Example #1
0
	/**
	 * Test the getHash method
	 */
	public function testGetHash() {
		$file = new \Core\Filestore\Backends\FileLocal('core/tests/updater-testdocument.txt');

		$this->assertEquals(md5_file(ROOT_PDIR . 'core/tests/updater-testdocument.txt'), $file->getHash());
	}