Skip to content

Commit 24d1d13

Browse files
committed
fix(tests refresh token): sqlite only
test only with sqlite for simplicity the opaque access tokens are already tested with all database by Adonisjs
1 parent 03ca400 commit 24d1d13

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

tests/helpers.ts

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -72,39 +72,6 @@ export async function createDatabase() {
7272
filename: join(test.context.fs.basePath, 'db.sqlite3'),
7373
},
7474
},
75-
pg: {
76-
client: 'pg',
77-
connection: {
78-
host: process.env.PG_HOST as string,
79-
port: Number(process.env.PG_PORT),
80-
database: process.env.PG_DATABASE as string,
81-
user: process.env.PG_USER as string,
82-
password: process.env.PG_PASSWORD as string,
83-
},
84-
},
85-
mssql: {
86-
client: 'mssql',
87-
connection: {
88-
server: process.env.MSSQL_HOST as string,
89-
port: Number(process.env.MSSQL_PORT! as string),
90-
user: process.env.MSSQL_USER as string,
91-
password: process.env.MSSQL_PASSWORD as string,
92-
database: 'master',
93-
options: {
94-
enableArithAbort: true,
95-
},
96-
},
97-
},
98-
mysql: {
99-
client: 'mysql2',
100-
connection: {
101-
host: process.env.MYSQL_HOST as string,
102-
port: Number(process.env.MYSQL_PORT),
103-
database: process.env.MYSQL_DATABASE as string,
104-
user: process.env.MYSQL_USER as string,
105-
password: process.env.MYSQL_PASSWORD as string,
106-
},
107-
},
10875
},
10976
},
11077
logger,

0 commit comments

Comments
 (0)