Comments (3)
Thanks @XTRage - I see what you mean about the table names - will push a fix for that.
Not sure what you mean with the last sentence though? Where am I printing output in testcases? Is that not Moodle/PHPUnit doing so? Currently, the plugin doesn't have automated tests included with the plugin (except TravisCI) and 'provider_testcase::test_metadata_provider' is executed by core Moodle from /moodle/privacy/tests/provider_test.php:115
(Moodle v3.9)
from moodle-block_advnotifications.
Thank you for your quick reply.
About the other thing:
There was 1 risky test:
- provider_testcase::test_component_understands_deleted_users with data set "block_advnotifications" ('block_advnotifications', 'block_advnotifications\privac...ovider')
This test printed output: Getting contexts for userid...
Done 'Getting contexts for userid...'
It is just about printing some output during the test (you are doing it with mtrace) and PHPUnit marking those as "risky" tests with its out-of-the-box Moodle configuration/distribution.
But as I said, just nitpicking, PHPUnit shuts up when "beStrictAboutOutputDuringTests" is set to false.
from moodle-block_advnotifications.
Thanks again for the report and detailed info, @XTRage! Thanks to Open Source magic, @gustavorivas96 has addressed the above issues in the latest pull request.
I'll push the fixes to the Moodle Plugins directory as soon as I can.
from moodle-block_advnotifications.
Related Issues (20)
- Show no date if from/to date is not set HOT 1
- Support multilang tags & filter HOT 1
- Implement Privacy API HOT 1
- adding rss support HOT 3
- Validation failure HOT 4
- Different date format after saving a notification HOT 1
- Request: Use language strings in the values of the types HOT 1
- Proposal: show specific notifications to different user- or sitegroups HOT 2
- Proposal: enlarge min-width of message field HOT 1
- Icons cannot be overwritten by theme HOT 2
- Announcement Style is the same as Info style HOT 6
- How to adjust date format for USA form(MM-DD-YYYY) HOT 2
- Add capability to allow any role to create/manage notifications HOT 3
- Warning: key() expects parameter 1 to be array, string given in /moodle/blocks/advnotifications/settings.php on line 101 HOT 2
- Display the block to members of specific cohorts HOT 1
- Debug info: ERROR: value "32768" is out of range for type smallint HOT 6
- Request: add support for ISO standard date format YYYY-MM-DD HOT 1
- JavaScript error in console: No 'strings' response received. custom.js:270:17 HOT 2
- WYSIWYG/HTML Editor HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-block_advnotifications.