Commit 8772c0f5 authored by catch's avatar catch

Issue #2707619 by alexpott: Composer install generates warning

parent 9067e6f3
......@@ -77,6 +77,15 @@ public function testComposerJson() {
}
}
/**
* Tests composer.lock hash.
*/
public function testComposerLockHash() {
$json = file_get_contents($this->root . '/composer.json');
$lock = json_decode(file_get_contents($this->root . '/composer.lock'), TRUE);
$this->assertSame(md5($json), $lock['hash']);
}
/**
* Tests core's composer.json replace section.
*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment