Remove debugging code from tests
Alexander Hartmaier [Thu, 18 Feb 2010 10:01:27 +0000 (11:01 +0100)]
Changes
t/rest/list.t
t/rpc/create.t

diff --git a/Changes b/Changes
index cc04ea0..0652822 100644 (file)
--- a/Changes
+++ b/Changes
@@ -2,6 +2,9 @@ Revision history for Catalyst-Controller-DBIC-API: {{ $dist->version }}
 
 {{ $NEXT }}
 
+- Fixed some typos and code cleanups
+- Remove debugging code from tests
+
 2.001003  2010-02-12 19:01:56 America/Chicago
 
 - Fill out some coercions to allow more complex search criteria (like sort order)
index c7683f8..205c330 100644 (file)
@@ -59,7 +59,6 @@ my $producer_list_url = "$base/api/rest/producer";
 }
 
 {
-    $DB::single = 1;
   my $uri = URI->new( $producer_list_url );
   my $req = GET( $uri, 'Accept' => 'text/x-json' );
   $mech->request($req);
index 4e0913f..f49a5b6 100644 (file)
@@ -60,7 +60,6 @@ my $producer_create_url = "$base/api/rpc/producer/create";
 
 # test stash config handling
 {
-    $DB::single = 1;
   my $req = POST( $any_artist_create_url, {
          name => 'queen monkey'
   }, 'Accept' => 'text/json' );