Closed (fixed)
Project:
Protected Forms
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2024 at 10:16 UTC
Updated:
10 Apr 2024 at 14:54 UTC
Jump to comment: Most recent
Comments
Comment #4
grevil commentedDone, please review!
Comment #5
grevil commentedFound another small schema bug. Also fixed! Tests should be green again. :)
Comment #6
anybodyChanges LGTM, but tests fail:
There was 1 error:
1) Drupal\Tests\protected_forms\Functional\ProtectedFormsTest::testNodeCommentRejectedSubmissionPrintsCorrectMessage
Error: Call to undefined method Drupal\Tests\protected_forms\Functional\ProtectedFormsTest::t()
/builds/project/protected_forms/tests/src/Functional/ProtectedFormsTest.php:39
/builds/project/protected_forms/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
ERRORS!
Comment #7
grevil commentedOk, these tests didn't run for quite a long time (edited 4 years ago). So they had a few flaws.
I added some automatic phpcs fixes and a generic test class in for good measures, please review!
Comment #8
anybodyComment #10
anybodyPerfect, can you tag a new release please @Grevil?
Comment #11
grevil commentedSure thing!
Comment #12
grevil commentedDone https://www.drupal.org/project/protected_forms/releases/2.0.4