2023-07-21 23:59:12 +00:00
|
|
|
-- Test extension_citext
|
|
|
|
set client_min_messages to warning;
|
|
|
|
create extension if not exists pgtap;
|
|
|
|
reset client_min_messages;
|
|
|
|
|
|
|
|
begin;
|
|
|
|
|
|
|
|
select plan(1);
|
|
|
|
|
|
|
|
select extensions_are(array [
|
2023-09-27 00:23:09 +00:00
|
|
|
'btree_gist'
|
|
|
|
, 'citext'
|
2023-07-21 23:59:12 +00:00
|
|
|
, 'pgcrypto'
|
2023-07-29 02:25:56 +00:00
|
|
|
, 'pg_libphonenumber'
|
Add the contact page, containing a map with the company location
I was not sure whether to use PostGIS to store the GPS location of the
company, as i am sure i will only use that point just to show the map.
However, just in case, it is not a big deal.
There is no way to change that from the administration pages for now,
because of time constraints, and it is very unlikely that they will
change the campgrounds’ location in the near future.
The location is in a separate table because i did not want to have to
change every test file, to be honest, but this also makes the map
“optional” without the need for NULL values.
I added the contact address to every public page because the new design
adds it to the footer, so i will be needing it everywhere, just like the
menu.
2023-10-06 19:21:00 +00:00
|
|
|
, 'pgtap'
|
2023-07-21 23:59:12 +00:00
|
|
|
, 'plpgsql'
|
2023-07-29 02:25:56 +00:00
|
|
|
, 'uri'
|
|
|
|
, 'vat'
|
2023-07-21 23:59:12 +00:00
|
|
|
]);
|
|
|
|
|
|
|
|
select *
|
|
|
|
from finish();
|
|
|
|
|
|
|
|
rollback;
|