Review TYPO3_4-7 Merged

12482[BUGFIX] Page tree unit test fails if pages don't exist

Christian Kuhn CR +2 V +2 Easy +40 −4 updated 06/03/13, 20:49

Commit message

The unit test getNodesSetsIsMountPointField fails if
the pages with uid 1, 2, 3 are not available.

Instead of relying on user dependent data, we should mock
it. The patch introduces a wrapper method for getRecordWSOL
to be able to mock that method and changes the test to do
that.

Review

  • Code review CR +2
    • Christian Kuhn +2
  • Verified V +2
    • Christian Kuhn +2

Files 2

Review log 2

  1. Christian Kuhn commented on patch set 1 V 0 06/30/12, 17:02

    by team member; Looks good to me, approved
  2. Christian Kuhn merged patch set 1 06/30/12, 17:02