1. Added USING method while creating the table. #6378

2. Added USING method while creating the materialized view. #6400
This commit is contained in:
Pravesh Sharma
2023-09-06 11:22:30 +05:30
committed by GitHub
parent 095e11247d
commit a43b70e360
58 changed files with 3064 additions and 58 deletions

View File

@@ -40,6 +40,7 @@ describe('MaterializedViewSchema', ()=>{
/* https://material-ui.com/guides/testing/#api */
beforeAll(()=>{
mount = createMount();
spyOn(schemaObj, 'getServerVersion').and.returnValue(100000);
});
afterAll(() => {
@@ -68,7 +69,7 @@ describe('MaterializedViewSchema', ()=>{
state.definition = null;
schemaObj.validate(state, setError);
expect(setError).toHaveBeenCalledWith('definition', 'Please enter view definition.');
expect(setError).toHaveBeenCalledWith('definition', 'Please enter view code.');
state.definition = 'SELECT 1;';
schemaObj.validate(state, setError);