Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
8772c0f5
Commit
8772c0f5
authored
Apr 28, 2016
by
catch
Browse files
Issue
#2707619
by alexpott: Composer install generates warning
parent
9067e6f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/tests/Drupal/Tests/ComposerIntegrationTest.php
View file @
8772c0f5
...
...
@@ -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.
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment