[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[2600] trunk/sql/modules/test/Session.sql



Revision: 2600
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2600&view=rev
Author:   einhverfr
Date:     2009-05-13 18:01:27 +0000 (Wed, 13 May 2009)

Log Message:
-----------
Correcting Session.sql test case

Modified Paths:
--------------
    trunk/sql/modules/test/Session.sql

Modified: trunk/sql/modules/test/Session.sql
===================================================================
--- trunk/sql/modules/test/Session.sql	2009-05-12 18:06:12 UTC (rev 2599)
+++ trunk/sql/modules/test/Session.sql	2009-05-13 18:01:27 UTC (rev 2600)
@@ -14,7 +14,7 @@
 INSERT INTO session (users_id, last_used, token, transaction_id)
 SELECT 	currval('users_id_seq'), 
 now() - coalesce((select value from defaults where setting_key = 'timeout')::interval, 
-         '90 minutes'::interval), 
+         '90 minutes'::interval) - '1 minute'::interval, 
 md5('test2'), 2;
 
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.