Compare commits
1 Commits
notificati
...
jdbc_test
| Author | SHA1 | Date | |
|---|---|---|---|
| a66ef0128b |
@@ -36,7 +36,7 @@ dependencies {
|
||||
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.9.9")
|
||||
implementation("com.fasterxml.jackson.datatype:jackson-datatype-joda:2.9.9")
|
||||
implementation("net.pearx.kasechange:kasechange-jvm:1.1.0")
|
||||
implementation("fr.postgresjson:postgresjson:$postgresjson_version")
|
||||
implementation("fr.postgresjson:postgresjson-jdbc:$postgresjson_version")
|
||||
testImplementation("io.ktor:ktor-server-tests:$ktor_version")
|
||||
testImplementation("io.ktor:ktor-client-mock:$ktor_version")
|
||||
testImplementation("io.ktor:ktor-client-mock-jvm:$ktor_version")
|
||||
|
||||
@@ -13,7 +13,7 @@ create table citizen
|
||||
(
|
||||
id uuid default uuid_generate_v4() not null primary key,
|
||||
created_at timestamptz default now() not null,
|
||||
name jsonb not null check ( name ? 'first_name' and name ? 'last_name' ),
|
||||
name jsonb not null check ( name ?? 'first_name' and name ?? 'last_name' ),
|
||||
birthday date not null,
|
||||
user_id uuid not null references "user" (id) unique,
|
||||
vote_annonymous boolean default true not null,
|
||||
|
||||
@@ -46,7 +46,7 @@ class RunCucumberTest: En, KoinTest {
|
||||
getFixturesRequester()
|
||||
.getQueries()
|
||||
.sortedBy { it.name }
|
||||
.forEach { it.exec() }
|
||||
.forEach { it.sendQuery() }
|
||||
logger?.info("Fixtures Done")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user