Skip to content

Commit

Permalink
Merge pull request #510 from kcristiano/basepage
Browse files Browse the repository at this point in the history
Create basepage for E2E tests
  • Loading branch information
totten authored Feb 25, 2020
2 parents 7f24bfb + 8376a16 commit 5e8962d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/config/wp-case/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,5 @@ wp user create "$DEMO_USER" "$DEMO_EMAIL" --role=civicrm_admin --user_pass="$DEM

## Ceate anonymous user role
wp eval '$c=[civi_wp()->users->set_wp_user_capabilities()];if (is_callable($c)) $c();'
## Force basepage
wp eval '$c=[civi_wp()->basepage->create_wp_basepage()];if (is_callable($c)) $c();'
2 changes: 2 additions & 0 deletions app/config/wp-demo/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ wp cap add civicrm_admin \
wp user create "$DEMO_USER" "$DEMO_EMAIL" --role=civicrm_admin --user_pass="$DEMO_PASS"
## Ceate anonymous user role
wp eval '$c=[civi_wp()->users->set_wp_user_capabilities()];if (is_callable($c)) $c();'
## Force basepage
wp eval '$c=[civi_wp()->basepage->create_wp_basepage()];if (is_callable($c)) $c();'

cv en angularprofiles volunteer

Expand Down

0 comments on commit 5e8962d

Please sign in to comment.