2021-11-21 23:50:44 -06:00
|
|
|
/////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
|
|
//
|
2024-01-01 02:43:48 -06:00
|
|
|
// Copyright (C) 2013 - 2024, The pgAdmin Development Team
|
2021-11-21 23:50:44 -06:00
|
|
|
// This software is released under the PostgreSQL Licence
|
|
|
|
//
|
|
|
|
//////////////////////////////////////////////////////////////
|
|
|
|
|
2023-10-23 07:13:17 -05:00
|
|
|
|
2021-11-21 23:50:44 -06:00
|
|
|
import BackupGlobalSchema, {getMiscellaneousSchema} from '../../../pgadmin/tools/backup/static/js/backupGlobal.ui';
|
2023-10-23 07:13:17 -05:00
|
|
|
import { getCreateView } from '../genericFunctions';
|
2021-11-21 23:50:44 -06:00
|
|
|
|
|
|
|
|
|
|
|
describe('BackupGlobalSchema', ()=>{
|
|
|
|
let backupGlobalSchemaObj = new BackupGlobalSchema(
|
|
|
|
()=> getMiscellaneousSchema(),
|
|
|
|
{
|
|
|
|
role: ()=>[],
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
2023-10-23 07:13:17 -05:00
|
|
|
it('create', async ()=>{
|
|
|
|
await getCreateView(backupGlobalSchemaObj);
|
2021-11-21 23:50:44 -06:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|