[Rt-commit] rt branch, query-logging, updated. rt-3.9.4-78-gb7a3df4

Shawn Moore sartak at bestpractical.com
Thu Sep 30 18:13:38 EDT 2010


The branch, query-logging has been updated
       via  b7a3df4d73477c8db0463de0fe770432b8e75db7 (commit)
      from  9023049937a59504292c8a06961adbf158fbca2a (commit)

Summary of changes:
 t/web/query-log.t |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit b7a3df4d73477c8db0463de0fe770432b8e75db7
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Sep 30 18:16:49 2010 -0400

    A couple more tests

diff --git a/t/web/query-log.t b/t/web/query-log.t
index 7551ff9..cd344e3 100644
--- a/t/web/query-log.t
+++ b/t/web/query-log.t
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-use RT::Test tests => 5;
+use RT::Test tests => 7;
 
 RT->Config->Set(StatementLog => 1);
 
@@ -10,6 +10,8 @@ my ($baseurl, $m) = RT::Test->started_ok;
 ok $m->login, 'logged in';
 
 $m->get_ok("/Admin/Tools/Queries.html");
+$m->text_contains("/index.html", "we include info about a page we hit while logging in");
 $m->text_contains("Executed SQL query at", "stack traces");
+$m->text_like(qr/RT::Test::start_standalone_server\(.*\) called at/, "stack traces");
 $m->text_contains("SELECT * FROM Users WHERE LOWER(Name) = LOWER('root')", "we interpolate bind params");
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list