mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
style(playlist): renames variable
This commit is contained in:
parent
85a463faab
commit
c8bd9fd6cc
@ -5,7 +5,7 @@ import helpers from 'test/specs/helpers';
|
||||
describe('PlaylistEditCtrl', function() {
|
||||
var ctx = new helpers.ControllerTestContext();
|
||||
|
||||
var dashboards = [
|
||||
var searchResult = [
|
||||
{
|
||||
id: 2,
|
||||
title: 'dashboard: 2'
|
||||
@ -19,7 +19,7 @@ describe('PlaylistEditCtrl', function() {
|
||||
var playlistSrv = {};
|
||||
var backendSrv = {
|
||||
search: (query) => {
|
||||
return ctx.$q.when(dashboards);
|
||||
return ctx.$q.when(searchResult);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user