mirror of
https://gitlab.com/spaceti-app/integrations/acs/colnod-connector.git
synced 2026-07-12 13:10:45 +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`
|
`npm install -g snowboard`
|
||||||
|
|
||||||
## Tests made
|
## Tests made
|
||||||
- add token to db/colnod
|
Changes on colnod are made by [Colnod client](https://spaceti.atlassian.net/wiki/spaces/IN/pages/194576388/Colnod+client)
|
||||||
- edit token in db/colnod
|
|
||||||
- delete token from db/colnod
|
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
|
- add subject to colnod
|
||||||
- edit subject in colnod
|
- edit subject in colnod
|
||||||
- delete subject from colnod
|
- delete subject from colnod
|
||||||
@ -188,9 +191,7 @@ It is possible to chain requests: [see doc](https://support.insomnia.rest/articl
|
|||||||
- Token table
|
- Token table
|
||||||
```SQL create
|
```SQL create
|
||||||
-- Table: public.colnod_token
|
-- Table: public.colnod_token
|
||||||
|
|
||||||
-- DROP TABLE public.colnod_token;
|
-- DROP TABLE public.colnod_token;
|
||||||
|
|
||||||
CREATE TABLE public.colnod_token
|
CREATE TABLE public.colnod_token
|
||||||
(
|
(
|
||||||
id character(36) COLLATE pg_catalog."default" NOT NULL,
|
id character(36) COLLATE pg_catalog."default" NOT NULL,
|
||||||
@ -220,9 +221,7 @@ ALTER TABLE public.colnod_token
|
|||||||
- Subject table
|
- Subject table
|
||||||
```SQL create
|
```SQL create
|
||||||
-- Table: public.colnod_subject
|
-- Table: public.colnod_subject
|
||||||
|
|
||||||
-- DROP TABLE public.colnod_subject;
|
-- DROP TABLE public.colnod_subject;
|
||||||
|
|
||||||
CREATE TABLE public.colnod_subject
|
CREATE TABLE public.colnod_subject
|
||||||
(
|
(
|
||||||
id character(36) COLLATE pg_catalog."default" NOT NULL,
|
id character(36) COLLATE pg_catalog."default" NOT NULL,
|
||||||
@ -245,9 +244,7 @@ ALTER TABLE public.colnod_subject
|
|||||||
- Subject attributes table
|
- Subject attributes table
|
||||||
```SQL create
|
```SQL create
|
||||||
-- Table: public.colnod_subject_attribute
|
-- Table: public.colnod_subject_attribute
|
||||||
|
|
||||||
-- DROP TABLE public.colnod_subject_attribute;
|
-- DROP TABLE public.colnod_subject_attribute;
|
||||||
|
|
||||||
CREATE TABLE public.colnod_subject_attribute
|
CREATE TABLE public.colnod_subject_attribute
|
||||||
(
|
(
|
||||||
id character varying(255) COLLATE pg_catalog."default" NOT NULL,
|
id character varying(255) COLLATE pg_catalog."default" NOT NULL,
|
||||||
@ -267,9 +264,7 @@ ALTER TABLE public.colnod_subject_attribute
|
|||||||
- Config
|
- Config
|
||||||
```SQL create
|
```SQL create
|
||||||
-- Table: public.config
|
-- Table: public.config
|
||||||
|
|
||||||
-- DROP TABLE public.config;
|
-- DROP TABLE public.config;
|
||||||
|
|
||||||
CREATE TABLE public.config
|
CREATE TABLE public.config
|
||||||
(
|
(
|
||||||
last_sync bigint NOT NULL DEFAULT 0,
|
last_sync bigint NOT NULL DEFAULT 0,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user