Skip to content

Commit a6ddbd1

Browse files
committed
Use a db import instead of using config
1 parent 0e9037e commit a6ddbd1

File tree

239 files changed

+6
-50287
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+6
-50287
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
debug_enabled:
1212
description: 'Debug with tmate set "debug_enabled"'
1313
required: false
14-
default: false
14+
default: "false"
1515

1616
defaults:
1717
run:

test.bats

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,13 @@ setup() {
1212
# This restart shouldn't be required, will need to fix in ddev
1313
mkdir -p web/sites/default/files/sync
1414
ddev restart
15-
ddev drush si -y --account-pass=admin
16-
ddev drush en -y search_api search_api_solr search_api_solr_defaults search_api_solr_admin
17-
cp -r ${DIR}/testdata/ ${TESTDIR}/web/sites/default/files/sync
18-
ddev drush config:import -y
15+
ddev import-db --src=${DIR}/testdata/db.sql.gz
1916
}
2017

21-
#teardown() {
22-
# ddev delete -Oy ${DDEV_SITENAME}
23-
# rm -rf ${TESTDIR}
24-
#}
18+
teardown() {
19+
ddev delete -Oy ${DDEV_SITENAME}
20+
rm -rf ${TESTDIR}
21+
}
2522

2623
@test "basic installation" {
2724
pushd ${TESTDIR} >/dev/null

testdata/automated_cron.settings.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

testdata/block.block.bartik_account_menu.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

testdata/block.block.bartik_branding.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

testdata/block.block.bartik_breadcrumbs.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

testdata/block.block.bartik_content.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

testdata/block.block.bartik_footer.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

testdata/block.block.bartik_help.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

testdata/block.block.bartik_local_actions.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)