Commit 7224ca6c by David Kaltschmidt

Fix panel menu test

parent f69654fc
......@@ -24,8 +24,9 @@ describe('MetricsPanelCtrl', () => {
});
});
describe('and has datasource set that supports explore', () => {
describe('and has datasource set that supports explore and user has powers', () => {
beforeEach(() => {
ctrl.contextSrv = { isEditor: true };
ctrl.datasource = { supportsExplore: true };
additionalItems = ctrl.getAdditionalMenuItems();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment