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,16 +31,18 @@ define([ ...@@ -31,16 +31,18 @@ define([
beforeEach(function() { beforeEach(function() {
var dashboard = { var dashboard = {
rows: [ model: {
{ rows: [
panels: [ {
{ panels: [
id: 23, {
some: 'prop' id: 23,
} some: 'prop'
] }
} ]
] }
]
}
}; };
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