mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Allow user to force refresh metadata (#5933)
* Allow user to force refresh metadata * fix javascript test error * nit * fix styling * allow custom cache timeout configuration on any database * minor improvement * nit * fix test * nit * preserve the old endpoint
This commit is contained in:
committed by
Beto Dealmeida
parent
1ee08fc216
commit
712c1aa767
@@ -131,7 +131,7 @@ describe('SqlEditorLeftBar', () => {
|
||||
return d.promise();
|
||||
});
|
||||
wrapper.instance().fetchSchemas(1);
|
||||
expect(ajaxStub.getCall(0).args[0]).to.equal('/superset/schemas/1/');
|
||||
expect(ajaxStub.getCall(0).args[0]).to.equal('/superset/schemas/1/false/');
|
||||
expect(wrapper.state().schemaOptions).to.have.length(3);
|
||||
});
|
||||
it('should handle error', () => {
|
||||
|
||||
Reference in New Issue
Block a user