Skip to content

Commit

Permalink
COMCL-651: Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
olayiwola-compucorp committed Aug 6, 2024
1 parent 87bd718 commit ff7daee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ jobs:
run: |
git clone --depth 1 -b 6.6.0-dev https://github.com/compucorp/uk.co.compucorp.membershipextras.git
cv en uk.co.compucorp.membershipextras uk.co.compucorp.manualdirectdebit
- name: Update civicrm.settings.php
run: |
sed '1a\
$GLOBALS['"'"'_CV'"'"']['"'"'TEST_DB_DSN'"'"'] = '"'"'mysql://root:root@mysql:3306/ukcocompucorpmanualdirectd_text?new_link=true'"'"';\
' $GITHUB_WORKSPACE/site/web/sites/default/civicrm.settings.php | tee $GITHUB_WORKSPACE/site/web/sites/default/civicrm.settings.php > /dev/null
- name: Run phpunit tests
working-directory: ${{ env.CIVICRM_EXTENSIONS_DIR }}/uk.co.compucorp.manualdirectdebit
Expand Down
1 change: 1 addition & 0 deletions xml/customFields_install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@
<is_active>0</is_active>
<group_type>Contact</group_type>
<title>Direct Debit Information</title>
<frontend_title>Direct Debit Information</frontend_title>
<add_captcha>0</add_captcha>
<is_map>0</is_map>
<is_edit_link>0</is_edit_link>
Expand Down

0 comments on commit ff7daee

Please sign in to comment.