diff --git a/public/app/features/playlist/specs/playlist-edit-ctrl-specs.ts b/public/app/features/playlist/specs/playlist-edit-ctrl-specs.ts index 6d4db720fde..e0ffdd49893 100644 --- a/public/app/features/playlist/specs/playlist-edit-ctrl-specs.ts +++ b/public/app/features/playlist/specs/playlist-edit-ctrl-specs.ts @@ -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); } };