Problem/Motivation
1. The module should at least provide an installation test, which ensures that the site is not broken (Status 200 / not WSOD) after enabling the module. Futher tests would of course also be helpful.
2. When running a test, it raises the following schema errors:
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for micon.micon.fa with the following errors: micon.micon.fa:archive.0 missing schema, micon.micon.fa:archive.1 missing schema, micon.micon.fa:archive.2 missing schema, micon.micon.fa:archive.3 missing schema, micon.micon.fa:archive.4 missing schema
3. Furthermore, there are some minor coding standard issues:
Coding standards: https://www.drupal.org/pift-ci-job/2319000
Steps to reproduce
Proposed resolution
- Add at least some basic tests
- Fix schema errors
- Fix coding standards
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork micon-3271002
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
anybodyComment #4
grevil commentedI fixed most of the coding style issues, the schema and implemented a basic installation test!
The archive "sequence" was missing, note that I labeled it "Archive content" you can change the label accordingly :)
Comment #6
anybodyGreat work @Grevil! Looks perfect! Nice to see the schema fix!
Hopefully the maintainers will also have a look soon. RTBC +1
Comment #7
anybodyPS: The composer require failure is strange... that must be unrelated to the tests.
As manual composer.json is a problem for Drupal CI in many cases, best would be to remove it, if it's not needed. And let Drupal create it automatically. But that's just my two cent. ;) Perhaps someone knows better.
Local tests work fine, so still RTBC+1
Comment #10
jacerider commentedI merged this into the dev branch for further testing. Thanks for the patch!
Comment #11
anybody@JaceRider VERY cool! :) Very much looking forward to your feedback :)
(And a new stable release... ;))
Comment #12
grevil commentedThanks, @JaceRider!
Comment #13
grevil commentedComment #14
anybody(But no new release with fixed schema yet, so this is still broken for our dependent module)
Comment #16
anybody@JaceRider would it be possible perhaps to have a new release? So we could finish our tests upstream, which are failing due to the schema errors in micon.
I think the schema fixes are important enough for a new release?
Thanks a lot in advance :)