- πΊπΈUnited States smustgrave
Missed the 9.5 window
At this time we will need a D10 MR.
Hiding the patch files to avoid review confusion.
- First commit to issue fork.
- @rpayanm opened merge request.
- Status changed to Needs review
almost 2 years ago 9:13pm 27 January 2023 - Status changed to RTBC
almost 2 years ago 11:17pm 27 January 2023 - πΊπΈUnited States smustgrave
Thanks @rpayanm
Refactor of the test looks good.
- Status changed to Needs work
almost 2 years ago 8:47am 8 February 2023 - π³πΏNew Zealand quietone
@joachim, thanks for writing up the steps you took to resolve this. I followed those steps and it was easy to follow and understand why you made the changes you did. I hope others find it useful.
As the issue summary states the changes here are part of the setup, not the actual test. Therefore, why are these changes not in the setUp method? I think they should be moved there. There is only one test method in this file, so there won't be any conflicts.
- Status changed to Needs review
almost 2 years ago 2:38pm 11 February 2023 - π¬π§United Kingdom joachim
I've rebased on to 10.1.
> As the issue summary states the changes here are part of the setup, not the actual test. Therefore, why are these changes not in the setUp method? I think they should be moved there. There is only one test method in this file, so there won't be any conflicts.
I really don't think it's worth the effort. First, it would mean having to declare the term entities as class properties instead of them just being local vars:
$term1 = $this->createTerm($this->vocabulary);
Second, and this is purely a personal feeling, I tend to do modules and config setup in setUp() and create content entities in the test method. Then again, creating $this->user is often done in setUp().
Third, it makes no difference since there is only one test method, but if ever we wanted to add to the test, or split the test method, it would lead to more work.
- Status changed to Needs work
over 1 year ago 9:43pm 1 March 2023 - πΊπΈUnited States smustgrave
MR 2659 is showing 1000s of file changes now. Not sure what the fix was or if it was a change to the RssTest.php only.
- Status changed to Needs review
over 1 year ago 11:06pm 1 March 2023 - π¬π§United Kingdom joachim
I forgot to change the target branch on the MR. Sorted now.
- Status changed to RTBC
over 1 year ago 2:41pm 2 March 2023 - πΊπΈUnited States smustgrave
MR 2659 looking at the changes to RssTest.php and they look fine and don't seem to break anything.
- Status changed to Fixed
over 1 year ago 4:21pm 7 March 2023 Automatically closed - issue fixed for 2 weeks with no activity.