refactor: Remove redundant appConfigId from get auth clients mock
This commit is contained in:
@@ -6,10 +6,6 @@ export async function up(knex) {
|
||||
|
||||
export async function down(knex) {
|
||||
await knex.schema.table('app_auth_clients', (table) => {
|
||||
table
|
||||
.uuid('app_config_id')
|
||||
.notNullable()
|
||||
.references('id')
|
||||
.inTable('app_configs');
|
||||
table.uuid('app_config_id').references('id').inTable('app_configs');
|
||||
});
|
||||
}
|
||||
|
@@ -1,7 +1,6 @@
|
||||
const getAppAuthClientsMock = (appAuthClients) => {
|
||||
return {
|
||||
data: appAuthClients.map((appAuthClient) => ({
|
||||
appConfigId: appAuthClient.appConfigId,
|
||||
name: appAuthClient.name,
|
||||
id: appAuthClient.id,
|
||||
active: appAuthClient.active,
|
||||
|
Reference in New Issue
Block a user