mirror of
https://gitlab.com/spaceti-app/integrations/acs/colnod-connector.git
synced 2026-07-12 10:50:38 +02:00
improve description of tests
This commit is contained in:
parent
7dd5afe599
commit
d91ff9f38f
17
README.md
17
README.md
@ -170,9 +170,12 @@ It is possible to chain requests: [see doc](https://support.insomnia.rest/articl
|
||||
`npm install -g snowboard`
|
||||
|
||||
## Tests made
|
||||
- add token to db/colnod
|
||||
- edit token in db/colnod
|
||||
- delete token from db/colnod
|
||||
Changes on colnod are made by [Colnod client](https://spaceti.atlassian.net/wiki/spaces/IN/pages/194576388/Colnod+client)
|
||||
|
||||
Changes on db can be made by sql commands directly or by [pgAdmin](https://www.pgadmin.org/)
|
||||
- add token to db/colnod (2 tests)
|
||||
- edit token in db/colnod (2 tests)
|
||||
- delete token from db/colnod (2 tests)
|
||||
- add subject to colnod
|
||||
- edit subject in colnod
|
||||
- delete subject from colnod
|
||||
@ -188,9 +191,7 @@ It is possible to chain requests: [see doc](https://support.insomnia.rest/articl
|
||||
- Token table
|
||||
```SQL create
|
||||
-- Table: public.colnod_token
|
||||
|
||||
-- DROP TABLE public.colnod_token;
|
||||
|
||||
CREATE TABLE public.colnod_token
|
||||
(
|
||||
id character(36) COLLATE pg_catalog."default" NOT NULL,
|
||||
@ -220,9 +221,7 @@ ALTER TABLE public.colnod_token
|
||||
- Subject table
|
||||
```SQL create
|
||||
-- Table: public.colnod_subject
|
||||
|
||||
-- DROP TABLE public.colnod_subject;
|
||||
|
||||
CREATE TABLE public.colnod_subject
|
||||
(
|
||||
id character(36) COLLATE pg_catalog."default" NOT NULL,
|
||||
@ -245,9 +244,7 @@ ALTER TABLE public.colnod_subject
|
||||
- Subject attributes table
|
||||
```SQL create
|
||||
-- Table: public.colnod_subject_attribute
|
||||
|
||||
-- DROP TABLE public.colnod_subject_attribute;
|
||||
|
||||
CREATE TABLE public.colnod_subject_attribute
|
||||
(
|
||||
id character varying(255) COLLATE pg_catalog."default" NOT NULL,
|
||||
@ -267,9 +264,7 @@ ALTER TABLE public.colnod_subject_attribute
|
||||
- Config
|
||||
```SQL create
|
||||
-- Table: public.config
|
||||
|
||||
-- DROP TABLE public.config;
|
||||
|
||||
CREATE TABLE public.config
|
||||
(
|
||||
last_sync bigint NOT NULL DEFAULT 0,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user