mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed solo panel unit test
This commit is contained in:
parent
5e4b026668
commit
613e209af3
@ -1,6 +1,6 @@
|
||||
define([
|
||||
'helpers',
|
||||
'features/dashboard/soloPanelCtrl',
|
||||
'features/panel/soloPanelCtrl',
|
||||
'features/dashboard/dashboardSrv',
|
||||
], function(helpers) {
|
||||
'use strict';
|
||||
@ -31,16 +31,18 @@ define([
|
||||
|
||||
beforeEach(function() {
|
||||
var dashboard = {
|
||||
rows: [
|
||||
{
|
||||
panels: [
|
||||
{
|
||||
id: 23,
|
||||
some: 'prop'
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
model: {
|
||||
rows: [
|
||||
{
|
||||
panels: [
|
||||
{
|
||||
id: 23,
|
||||
some: 'prop'
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
routeParams.id = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user