diff --git a/src/SilverStripe/BehatExtension/Context/Initializer/SilverStripeAwareInitializer.php b/src/SilverStripe/BehatExtension/Context/Initializer/SilverStripeAwareInitializer.php
index 93ad1f8..37f3aef 100644
--- a/src/SilverStripe/BehatExtension/Context/Initializer/SilverStripeAwareInitializer.php
+++ b/src/SilverStripe/BehatExtension/Context/Initializer/SilverStripeAwareInitializer.php
@@ -73,8 +73,10 @@ class SilverStripeAwareInitializer implements InitializerInterface
         global $_FILE_TO_URL_MAPPING;
         $_FILE_TO_URL_MAPPING[dirname($framework_path)] = $framework_host;
 
-        // Connect to database
+        // Connect to database and build manifest
+        $_GET['flush'] = 1;
         require_once $framework_path . '/core/Core.php';
+        unset($_GET['flush']);
 
         // Remove the error handler so that PHPUnit can add its own
         restore_error_handler();