mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 11:17:46 +00:00
Update tests, add stays_ext unit tests
This commit is contained in:
37
tests/sql/stays_ext.sql.output
Normal file
37
tests/sql/stays_ext.sql.output
Normal file
@@ -0,0 +1,37 @@
|
||||
current_database
|
||||
------------------
|
||||
signalk
|
||||
(1 row)
|
||||
|
||||
You are now connected to database "signalk" as user "username".
|
||||
Expanded display is on.
|
||||
-[ RECORD 1 ]-
|
||||
count_eq_0 | 0
|
||||
|
||||
-[ RECORD 1 ]
|
||||
vessel_id | t
|
||||
|
||||
SET
|
||||
api.stays details
|
||||
-[ RECORD 1 ]------+--
|
||||
vessel_id_not_null | t
|
||||
name_not_null | t
|
||||
-[ RECORD 2 ]------+--
|
||||
vessel_id_not_null | t
|
||||
name_not_null | t
|
||||
|
||||
api.stays_ext set image/image_b64
|
||||
INSERT 0 1
|
||||
api.stays_ext get image_updated_at
|
||||
-[ RECORD 1 ]-------------+--
|
||||
image_b64_is_null | f
|
||||
image_not_null | t
|
||||
image_updated_at_not_null | t
|
||||
|
||||
SET
|
||||
api.stays_ext
|
||||
SET
|
||||
api_anonymous get stays image
|
||||
-[ RECORD 1 ]--------+--
|
||||
stays_image_not_null | t
|
||||
|
Reference in New Issue
Block a user