diff --git a/tests/RhubarbTestCase.php b/tests/RhubarbTestCase.php
index <HASH>..<HASH> 100644
--- a/tests/RhubarbTestCase.php
+++ b/tests/RhubarbTestCase.php
@@ -11,6 +11,7 @@ use Rhubarb\Crown\Tests\LoginProviders\UnitTestingLoginProvider;
 use Rhubarb\Crown\UrlHandlers\ClassMappedUrlHandler;
 use Rhubarb\Crown\UrlHandlers\StaticResourceUrlHandler;
 use Rhubarb\Crown\UrlHandlers\NamespaceMappedUrlHandler;
+use Rhubarb\Stem\Repositories\Repository;
 
 /**
  * This base class adds basic setup and teardown for unit testing within the Core
@@ -56,6 +57,8 @@ class UnitTestingModule extends Module
     {
         parent::Initialise();
 
+        Repository::setDefaultRepositoryClassName( '\Rhubarb\Stem\Repositories\Offline\Offline' );
+
         $login = new ValidateLoginUrlHandler(new UnitTestingLoginProvider(), "/login/index");
         $login->SetPriority(20);
RhubarbTestCase now ensures the offline repos is in play