Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Because it's a good idea. xjm++
Comment | File | Size | Author |
---|---|---|---|
#11 | views-1784072-11.patch | 1.32 KB | fastangel |
#9 | views-1784072-9.patch | 1.43 KB | fastangel |
#7 | views-1784072-7.patch | 1.4 KB | fastangel |
#5 | views-1784072-5.patch | 1.57 KB | fastangel |
Comments
Comment #1
xjmNice novice task. If any of tim.plunkett, dawehner, damiankloip, or aspilicious do this, I will tease you mercilessly.
Comment #2
damiankloip CreditAttribution: damiankloip commentedMust..try...to...resist.... Need... more...views..tests...
Comment #3
fastangel CreditAttribution: fastangel commentedI done this unit Test in #1783692-4: Test the bundle manager to show the fail on update.php
Comment #4
tim.plunkettThat's a WebTest, not a UnitTest. This should still be done separately.
Comment #5
fastangel CreditAttribution: fastangel commentedI attached the path with the test.
Comment #6
tim.plunkettNeed space between lines
This should be UnitTestBase
Do we need this in setUp? I think we should just use the method in the class.
Needs a blank line before the final }, after the method
Trailing whitespace
Comment #7
fastangel CreditAttribution: fastangel commentedNew patch with all changes.
Comment #8
damiankloip CreditAttribution: damiankloip commentedPatch and code style is looking good. Just a couple o' things...
Not sure I like the name PluginWebTest, and none of our other tests use this naming. Maybe we could go with PluginTypeTest or PluginTypeListTest maybe? I think I would favour the latter, as we also have other tests testing plugin types.
I usually like a space in between stuff like this. Really nitpicky I know!
Comment #9
fastangel CreditAttribution: fastangel commentedDone. Change the name to PluginTypeListTest and modified the space.
Comment #10
dawehnerYou don't need this part, as the module will not be enabled at all.
The rest looks perfect.
Comment #11
fastangel CreditAttribution: fastangel commentedNew patch.
Comment #12
dawehnerGreat, let's wait for the bot to finish.
Comment #13
damiankloip CreditAttribution: damiankloip commentedNice work, committed to 8.x-3.x!
http://drupalcode.org/project/views.git/commit/e049c7d