Skip to content

Commit 6d7bd47

Browse files
committed
Testy mctest.
1 parent 1a86be3 commit 6d7bd47

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ ddev drupal list
1818
# Install drupal
1919
ddev drupal install
2020
21-
# Run PHPUnit tests
22-
ddev phpunit core/modules/sdc
23-
24-
# Run Nightwatch tests (currently only runs on Chrome)
25-
ddev nightwatch --tag core
21+
# Verify some sample tests that require a working site
22+
ddev phpunit core/tests/Drupal/FunctionalTests/Core
2623
```
2724

2825
## Nightwatch Examples

commands/web/reinstall

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
ddev exec chmod 775 sites/default sites/default/settings.php
4+
ddev exec rm -Rf sites/default/files
5+
ddev exec rm sites/default/settings.php
6+
ddev drupal install

install.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ post_install_actions:
2626
- cp core-dev/gitignore ../.gitignore
2727
- mkdir -p ../test_output
2828
- chmod +w ../test_output
29-
- ddev exec corepack enable
30-
- cd ../core && ddev exec yarn set version stable
29+
- ddev exec corepack enable # @todo remove when in DDEV core.
30+
- ddev exec yarn set version stable
31+
- ddev exec rm sites/default/files
32+
- cd ../core && ddev yarn
3133

3234
removal_actions:
3335
- rm core/phpunit.xml

0 commit comments

Comments
 (0)