From 0a7b3237aca69adbe7e89e2f4ea858b329efa0e2 Mon Sep 17 00:00:00 2001 From: Byrne Date: Fri, 8 Oct 2010 11:19:05 -0700 Subject: [PATCH] [#224 state:resolved] Switched unit test to utilize $app->query() to eliminate code path that was triggering a series of warnings. --- t/21-app-callbacks.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/21-app-callbacks.t b/t/21-app-callbacks.t index ac54fa976..d6d4b95d5 100644 --- a/t/21-app-callbacks.t +++ b/t/21-app-callbacks.t @@ -42,7 +42,8 @@ $q->param(status => 1); # $q->param(password => 'bass'); $q->param(text => "Buddha blessed and boo-ya blasted; these are the words that she manifested."); -$cms->{query} = $q; +#$cms->{query} = $q; +$cms->query($q); $cms->{perms} = MT::Permission->new(); $cms->{perms}->can_post(1); $cms->{author} = MT::Author->new();