Support from Acquia helps fund testing for Drupal Acquia logo

Comments

heykarthikwithu created an issue. See original summary.

heykarthikwithu’s picture

Assigned: heykarthikwithu » Unassigned
Status: Active » Needs review
FileSize
5.72 KB
mondrake’s picture

FileSize
8.15 KB
8.15 KB

Thank you @heykarthikwithu

Actually I think we can do a little bit more, see patch attached. If this passes I will commit it.

This module is pretty new and we will have need for such cleanups in the future too as new image effects get added.

mondrake’s picture

FileSize
3.34 KB

Wrong interdiff, sorry

heykarthikwithu’s picture

This module is pretty new and we will have need for such cleanups in the future too as new image effects get added.

yes sure :)

mondrake’s picture

Status: Needs review » Fixed

Committed, thank you!

#6 ;)

  • mondrake committed 52aa1b8 on
    Revert "Issue #2663256 by heykarthikwithu, mondrake: Remove unused...
mondrake’s picture

Status: Fixed » Needs work
Issue tags: +Needs tests

Sorry, this broke the settings form, reverted. My fault, I removed the config factory injection which is needed by the parent constructor. This however tells us we are completely missing tests for the SettingsForm, which should then be added here.

mondrake’s picture

FileSize
2.47 KB
10.62 KB
10.51 KB
2.06 KB

OK, fixed.

2663256-10-test-only.patch => is a test only patch (should be green) showing how SettingsForm in current HEAD is ok
2663256-3-test-only.patch => shows how the patch in #3 leads to failure of the SettingsForm (should be red)
2663256-10.patch => is the patch for review/commit (hopefully green ;))

mondrake’s picture

Status: Needs work » Needs review
mondrake’s picture

Title: Remove unused imports in the code base » Remove unused imports in the code base, add tests for SettingsForm

The last submitted patch, 10: 2663256-3-test-only.patch, failed testing.

mondrake’s picture

Issue tags: -Needs tests
slashrsm’s picture

Status: Needs review » Fixed

Committed. Thank you!

  • slashrsm committed 66609ad on authored by mondrake
    Issue #2663256 by mondrake, heykarthikwithu: Remove unused imports in...
mondrake’s picture

No idea why, but the date of the automatic commit message is set to Feb 3 where the commit was actually on Feb 9 :( ...

slashrsm’s picture

It must be a drupal.org bug or something.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.