I attempted to fix this a couple of times already, finally figured out how to fix it properly.

MollomDataTestCase tests the API function mollom_form_get_values() directly, without performing requests to the internal testing site setup by SimpleTest.

Because of that, actions like $this->drupalLogin() do not have the desired effect -- the given user is authenticated in the testing site, but not the "parent" site that is running the test.

CommentFileSizeAuthor
mollom.data-crud-test-user.0.patch1021 bytessun

Comments

sun’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs backport to D6
sun’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
sun’s picture

mollom.data-crud-test-user.0.patch queued for re-testing.

sun’s picture

Status: Reviewed & tested by the community » Fixed

Committed to all branches.

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

  • Commit 056d044 on master, fai6, 8.x-2.x, fbajs, actions by sun:
    - #1209810 by sun: Fixed MollomDataTestCase does not properly override...

  • Commit 056d044 on master, fai6, 8.x-2.x, fbajs, actions by sun:
    - #1209810 by sun: Fixed MollomDataTestCase does not properly override...