Skip to content

Commit

Permalink
Merge pull request #637 from localgovdrupal/fix/3.x-try-to-fix-update…
Browse files Browse the repository at this point in the history
…-test

[3.x] Try to fix update test
  • Loading branch information
finnlewis committed Nov 8, 2023
2 parents 9ff939e + e510f92 commit 1938bd9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ jobs:
with:
path: ${{ env.LOCALGOV_DRUPAL_PROJECT_PATH }}

- name: Obtain dev dependencies
run: jq --raw-output '.["require-dev"] | values | to_entries[] | @sh "\(.key):\(.value)"' ./html/web/profiles/contrib/localgov/composer.json | xargs composer --working-dir=./html require

phpcs:
name: Coding standards checks
needs: build
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"localgovdrupal/localgov_workflows": "^1.2.0"
},
"require-dev": {
"drupal/core-dev": "^10.0"
"drupal/core-dev": "^10.0",
"drupal/geofield_map": "^3.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ContentLockTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
protected static $modules = [
'localgov_content_lock',
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class LoginRedirectTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
protected static $modules = [
'localgov_login_redirect',
];

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Functional/LocalGovUpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function setDatabaseDumpFiles() {
/**
* Tests LocalGov updates from 2.3.18 to current.
*/
public function testUpdate() {
public function testUpdate(): void {

// Test Drupal update to latest version.
$this->runUpdates();
Expand Down

0 comments on commit 1938bd9

Please sign in to comment.