Skip to content

Commit

Permalink
Update tests (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
secretsayan committed May 24, 2024
1 parent 8630195 commit 2a82743
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/Domain/Package/PackageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function testConstructionAndGetters($data, $package_name, $project_name,
public static function providerConstructionAndGetters(): array {
return [
'Full specification' => [
'drupal/example_library' => [
'data' => [
'type' => 'library',
'install_path' => 'custom/path/to/example_library',
'url' => '/var/www/example_library',
Expand Down Expand Up @@ -107,7 +107,7 @@ public static function providerConstructionAndGetters(): array {
TRUE,
],
'Minimum specification/default values' => [
'drupal/example_module' => [],
'data' => [],
'drupal/example_module',
'example_module',
'example_module',
Expand All @@ -124,7 +124,7 @@ public static function providerConstructionAndGetters(): array {
TRUE,
],
'Module that should be enabled' => [
'drupal/example_module' => [
'data' => [
'version' => NULL,
'version_dev' => NULL,
],
Expand All @@ -144,7 +144,7 @@ public static function providerConstructionAndGetters(): array {
TRUE,
],
'Module that should not be enabled' => [
'drupal/example_module' => [
'data' => [
'enable' => FALSE,
],
'drupal/example_module',
Expand All @@ -163,7 +163,7 @@ public static function providerConstructionAndGetters(): array {
TRUE,
],
'Theme' => [
'drupal/example_theme' => [
'data' => [
'type' => 'drupal-theme',
],
'drupal/example_theme',
Expand Down

0 comments on commit 2a82743

Please sign in to comment.