X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=tests%2Ftest-init.lisp;h=eef4f888c44009906ae2c074951702cf83c3dfe9;hp=c13f545a0452eec526df868c51b2bdcd4b131ba2;hb=1dda729b250779079efbdc1d3f6bbb3ae4a20ba4;hpb=9711a224f9684aaaba08e20eaab826be1beee460 diff --git a/tests/test-init.lisp b/tests/test-init.lisp index c13f545..eef4f88 100644 --- a/tests/test-init.lisp +++ b/tests/test-init.lisp @@ -156,8 +156,12 @@ (defun test-initialise-database () (test-basic-initialize) - (clsql:create-view-from-class 'employee) - (clsql:create-view-from-class 'company) + (let ((*backend-warning-behavior* + (if (member *test-database-type* '(:postgresql :postgresql-socket)) + :ignore + :warn))) + (clsql:create-view-from-class 'employee) + (clsql:create-view-from-class 'company)) (setf company1 (make-instance 'company :companyid 1 @@ -255,7 +259,7 @@ :first-name "Vladamir" :last-name "Putin" :email "putin@soviet.org")) - + ;; sleep to ensure birthdays are no longer at current time (sleep 2)