Skip to content

Commit

Permalink
Only check for system for core components in the list and test.
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainweb committed Mar 21, 2016
1 parent a724a97 commit d8098ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 73 deletions.
1 change: 1 addition & 0 deletions spec/Drupal/ParseComposer/InfoFileSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ function it_understands_operators_in_constraints_in_d8()
$fooInfo = '';
$this->beConstructedWith('foo', $fooInfo, 8);
$this->constraint('foo (>=1.5)')->shouldReturn(['drupal/foo' => '>=8.1.5']);
$this->constraint('system (>=8.1)')->shouldReturn(['drupal/system' => '>=8.1']);
$this->constraint('system (>=8.0.5)')->shouldReturn(['drupal/system' => '>=8.0.5']);
$this->constraint('system (>=8.1.0-beta1)')->shouldReturn(['drupal/system' => '>=8.1.0-beta1']);
}
Expand Down
73 changes: 0 additions & 73 deletions src/InfoFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,80 +76,7 @@ class InfoFile
'stark',
],
8 => [
'action',
'aggregator',
'automated_cron',
'ban',
'basic_auth',
'big_pipe',
'block',
'block_content',
'book',
'breakpoint',
'ckeditor',
'color',
'comment',
'config',
'config_translation',
'contact',
'content_translation',
'contextual',
'datetime',
'dblog',
'dynamic_page_cache',
'editor',
'entity_reference',
'field',
'field_ui',
'file',
'filter',
'forum',
'hal',
'help',
'history',
'image',
'inline_form_errors',
'language',
'link',
'locale',
'menu_link_content',
'menu_ui',
'migrate',
'migrate_drupal',
'migrate_drupal_ui',
'node',
'options',
'page_cache',
'path',
'quickedit',
'rdf',
'responsive_image',
'rest',
'search',
'serialization',
'shortcut',
'simpletest',
'statistics',
'syslog',
'system',
'taxonomy',
'telephone',
'text',
'toolbar',
'tour',
'tracker',
'update',
'user',
'views',
'views_ui',
'minimal',
'standard',
'bartik',
'classy',
'garland',
'seven',
'stable',
'stark',
],
];

Expand Down

0 comments on commit d8098ff

Please sign in to comment.