Skip to content
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...
1 parent cbadd3e commit d45dd34db95a131d0ab95db0f9630b9c52708a90 @hafriedlander hafriedlander committed Aug 28, 2012
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.