Changelog, use stdout in tests to be less noisy
Tomas Doran [Tue, 21 Apr 2009 23:20:02 +0000 (23:20 +0000)]
Changes
t/unit_core_setup_log.t

diff --git a/Changes b/Changes
index 8ab23f1..3b5d59b 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
 # This file documents the revision history for Perl extension Catalyst.
 
+        - Fix CATALYST_DEBUG and MYAPP_DEBUG environment variables
+          turning debuging on if defined, rather than if set.
+          They now force debugging on or off, taking precedence over
+          configuration in your application. (t0m)
+          - Tests for this (t0m)
         - pass replace_constructor to the immutable call to ensure
           applications get a Moose constructor rather than a C::A one
 
index fe3e15e..ffb2859 100644 (file)
@@ -8,7 +8,7 @@ use Catalyst ();
 
 sub mock_app {
     my $name = shift;
-    warn("Setting up mock application: $name\n");
+    print "Setting up mock application: $name\n";
     my $meta = Moose->init_meta( for_class => $name );
     $meta->superclasses('Catalyst');
     return $meta->name;