Commit 613e209a by Torkel Ödegaard

Fixed solo panel unit test

parent 5e4b0266
define([ define([
'helpers', 'helpers',
'features/dashboard/soloPanelCtrl', 'features/panel/soloPanelCtrl',
'features/dashboard/dashboardSrv', 'features/dashboard/dashboardSrv',
], function(helpers) { ], function(helpers) {
'use strict'; 'use strict';
...@@ -31,6 +31,7 @@ define([ ...@@ -31,6 +31,7 @@ define([
beforeEach(function() { beforeEach(function() {
var dashboard = { var dashboard = {
model: {
rows: [ rows: [
{ {
panels: [ panels: [
...@@ -41,6 +42,7 @@ define([ ...@@ -41,6 +42,7 @@ define([
] ]
} }
] ]
}
}; };
routeParams.id = 1; routeParams.id = 1;
......
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