Skip to content
Snippets Groups Projects
Commit 8772c0f5 authored by catch's avatar catch
Browse files

Issue #2707619 by alexpott: Composer install generates warning

parent 9067e6f3
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment