瀏覽代碼

fixed failing graph tests

Torkel Ödegaard 7 年之前
父節點
當前提交
0731b8635b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/app/plugins/panel/graph/specs/graph.test.ts

+ 1 - 1
public/app/plugins/panel/graph/specs/graph.test.ts

@@ -125,7 +125,7 @@ describe('grafanaGraph', () => {
 
 
     //Emulate functions called by event listeners
     //Emulate functions called by event listeners
     link.buildFlotPairs(link.data);
     link.buildFlotPairs(link.data);
-    link.render_panel();
+    link.renderPanel();
     ctx.plotData = ctrl.plot.mock.calls[0][1];
     ctx.plotData = ctrl.plot.mock.calls[0][1];
 
 
     ctx.plotOptions = ctrl.plot.mock.calls[0][2];
     ctx.plotOptions = ctrl.plot.mock.calls[0][2];