Closed (fixed)
Project:
Scheduler
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 May 2017 at 09:58 UTC
Updated:
15 May 2017 at 16:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jonathan1055 commentedThe implementaion of
assertFieldById()has been corrected in core 8.4 and 8.3 yestertday - see #2868019-29: AssertLegacyTrait field assertions not compatible with Simpletest assertions. The commit was on 30th April 00:18, right at the correct time for our daily tests to show up the problem.Simple correction to the test code, when we do not care about the value, we should have used
NULLnot''for the second parameter, but we were getting away with it, due to the previously incorrect searching inassertFieldById().Comment #4
jonathan1055 commentedWe had a similar fault in #2824366-5: Move tests from /src/tests to tests/src/functional and extend BrowserTestBase instead of WebTestBase which was fixed in the same way using NULL not ''. It seems that the assertion for checkboxes was not fixed in core back then.