Closed (fixed)
Project:
Inline Entity Form
Version:
8.x-1.x-dev
Component:
Tests
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2019 at 20:09 UTC
Updated:
17 Jan 2020 at 18:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
spokjeLet's see if TestBot likes this.
Comment #3
spokjeHmm, looks like the Assertions in the if branch of
SimpleWidgetTest testSimpleValidationnever ran becauseassertNotNullreturned void instead of TRUE.Updated patch incoming.
Comment #4
spokjeAssertions were indeed never triggered in the if-branches, since another assertion failed locally.
The failing one that TestBot complained about passed locally, but it looks like getting a canonical URL from a node has to be done a bit different in TestBot land.
Let's see how this goes.
Comment #5
spokjeWhat's good enough for TestBot, is good enough for
mereview.Comment #6
geek-merlinThanks a lot for working through this and fixing such a lot of nits! I really like doing this in a separate commit.
Good find. Can we leave the
if (isset(...))statements in though? IMHO they make code dependencies and test results more readable.So if we fix that, i'll go and commit it.
Comment #7
geek-merlinComment #8
spokjeThere you go.
Comment #9
spokjeAdding an actual patch file might come in handy... :/
Comment #10
oknateLooks good to me.
Comment #12
geek-merlinOK, committed and pushed. Thank 'ya all!