-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UHF-9159 subgroup #161
UHF-9159 subgroup #161
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #161 +/- ##
============================================
+ Coverage 81.38% 81.79% +0.40%
- Complexity 356 360 +4
============================================
Files 49 50 +1
Lines 2810 2873 +63
============================================
+ Hits 2287 2350 +63
Misses 523 523 ☔ View full report in Codecov by Sentry. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
UHF-9159
What was done?
subgroup
to TPR units.How to install
KASKO
instance is up and running.make fresh
git checkout UHF-9159_subgroup-kasko-configs
.composer require drupal/helfi_tpr:dev-UHF-9159_subgroup
composer require drupal/helfi_platform_config:dev-UHF-9159_subgroup-field-conf
composer require drupal/hdbt:dev-UHF-9159_subgroup-accordion
make drush-updb drush-cim drush-locale-update drush-cr
.How to test
Testing the new field and migration
drush migrate:import tpr_unit --idlist 10404:fi,10404:sv,10404:en --update
. It should also run nicely without errors.Subgroup
is there under heading "Contact details of daycare centre groups".Run the tests
Run following in the
/app
inside the container.vendor/bin/phpunit -c /app/phpunit.xml.dist public/modules/contrib/helfi_tpr/tests/src/Unit/ConnectionRepositoryTest.php
vendor/bin/phpunit -c /app/phpunit.xml.dist public/modules/contrib/helfi_tpr/tests/src/Unit/ConnectionTest.php
vendor/bin/phpunit -c /app/phpunit.xml.dist public/modules/contrib/helfi_tpr/tests/src/Kernel/UnitMigrationTest.php
All tests should pass.
Other PRs