Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

FIX VirtualPageTest failing on apps with no $db on Page

VirtualPageTest was adding fields to Page via a decorator, but Page might
not have any fields itself. This changed Page from not having a table
to having a table, which then caused a problem on tearDown
  • Loading branch information...
commit d45dd34db95a131d0ab95db0f9630b9c52708a90 1 parent cbadd3e
@hafriedlander hafriedlander authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/model/VirtualPageTest.php
2  tests/model/VirtualPageTest.php
@@ -10,7 +10,7 @@ class VirtualPageTest extends SapphireTest {
protected $requiredExtensions = array(
- 'Page' => array('VirtualPageTest_PageExtension')
+ 'SiteTree' => array('VirtualPageTest_PageExtension')
function setUp() {

0 comments on commit d45dd34

Please sign in to comment.
Something went wrong with that request. Please try again.