fix bug that allowed forwarded logs to be output from the logger built via env vars
[scpubgit/Object-Remote.git] / t / watchdog.t
index c7e2c1f..ca00170 100644 (file)
@@ -1,7 +1,7 @@
 use strictures 1;
 use Test::More;
 
-require 't/logsetup.pl';
+$ENV{OBJECT_REMOTE_TEST_LOGGER} = 1;
 
 use Object::Remote::Connection;
 use Object::Remote::FromData; 
@@ -30,13 +30,13 @@ package HangClass;
 use Moo;
 
 sub alive {
-    return 1; 
+  return 1; 
 }
 
 sub hang {
-    while(1) {
-        sleep(1); 
-    }
+  while(1) {
+    sleep(1); 
+  }
 }