Skip to content

Commit 884edd3

Browse files
author
Oleksii Korshenko
committed
MAGETWO-45034: Composer Integrity Test Update
1 parent f44c65d commit 884edd3

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

dev/tests/static/testsuite/Magento/Test/Integrity/ComposerTest.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ private function assertMagentoConventions($dir, $packageType, \StdClass $json)
141141
$this->assertObjectHasAttribute('license', $json);
142142
$this->assertObjectHasAttribute('type', $json);
143143
$this->assertObjectHasAttribute('version', $json);
144-
$this->assertVersionInSync($json->name, $json->version);
145144
$this->assertObjectHasAttribute('require', $json);
146145
$this->assertEquals($packageType, $json->type);
147146
if ($packageType !== 'project') {
@@ -264,22 +263,6 @@ private function assertDependsOnFramework(\StdClass $json)
264263
);
265264
}
266265

267-
/**
268-
* Assert that versions in root composer.json and Magento component's composer.json are not out of sync
269-
*
270-
* @param string $name
271-
* @param string $version
272-
*/
273-
private function assertVersionInSync($name, $version)
274-
{
275-
$this->assertEquals(
276-
self::$rootJson['version'],
277-
$version,
278-
"Version {$version} in component {$name} is inconsistent with version "
279-
. self::$rootJson['version'] . ' in root composer.json'
280-
);
281-
}
282-
283266
/**
284267
* Assert that PHP versions in root composer.json and Magento component's composer.json are not out of sync
285268
*

0 commit comments

Comments
 (0)