Fix RT#82944
[catagits/Catalyst-Authentication-Store-DBIx-Class.git] / t / 09-simpledb-auth-roles-column.t
index bced500..b13494f 100644 (file)
@@ -23,7 +23,8 @@ BEGIN {
 
     plan tests => 8;
 
-    $ENV{TESTAPP_CONFIG} = {
+    use TestApp;
+    TestApp->config( {
         name => 'TestApp',
         'Plugin::Authentication' => {
             default => {
@@ -34,13 +35,13 @@ BEGIN {
                        }
                }
 
-    };
+    } );
 
-    $ENV{TESTAPP_PLUGINS} = [
+    TestApp->setup(
         qw/Authentication
            Authorization::Roles
            /
-    ];
+    );
 }
 
 use Catalyst::Test 'TestApp';