-
Notifications
You must be signed in to change notification settings - Fork 106
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
Feature/fix textarea #783
Feature/fix textarea #783
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks way cleaner than code before!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use this test template and add unit tests:
But yes - looks cleaner!
[edit: linked to incorrect file, it's FormTest.php]
nevermind i'll add test.. |
// dropdown insists for value to be there | ||
$this->assertFieldError('opt3', 'Must not be null'); | ||
|
||
// value with '0' is valid selection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DarkSide666 - here is a test for dropdown value with key '0' which currently is considered invalid incorrect selection.
@DarkSide666 i have added a test-suite, but it still not working with not fixing #781 |
Unfortunately the HTML markup bug (#760) reoccurs for me with this code. @romaninsh is everything OK on your side? |
@acicovic - i haven't tested against the project actually, have been a bit busy. @DarkSide666 can you see if saasty admin works OK (it uses mastercrud heavily) |
Codecov Report
@@ Coverage Diff @@
## develop #783 +/- ##
============================================
+ Coverage 71.18% 71.3% +0.11%
+ Complexity 2246 2242 -4
============================================
Files 119 119
Lines 5328 5325 -3
============================================
+ Hits 3793 3797 +4
+ Misses 1535 1528 -7
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## develop #783 +/- ##
=============================================
+ Coverage 71.17% 71.26% +0.09%
+ Complexity 2246 2242 -4
=============================================
Files 119 119
Lines 5328 5325 -3
=============================================
+ Hits 3792 3795 +3
+ Misses 1536 1530 -6
Continue to review full report at Codecov.
|
Related: #755, #760, #781
Needs testing and try to reproduce HTML markup bug we faced before. I couldn't find how to reproduce that.
Tests are in /demos/form.php