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

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Files 2