mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
fix(tests): fix broken unittest due to merge conflict
This commit is contained in:
parent
12d65bfdfa
commit
c48da9b5cf
@ -41,7 +41,6 @@ function (angular, _, config) {
|
||||
$scope.dashboard.addPanel(panel, $scope.row);
|
||||
};
|
||||
|
||||
|
||||
$scope.deleteRow = function() {
|
||||
function delete_row() {
|
||||
$scope.dashboard.rows = _.without($scope.dashboard.rows, $scope.row);
|
||||
|
@ -19,7 +19,7 @@ define([
|
||||
ctx.scope.row = ctx.scope.dashboard.rows[0];
|
||||
ctx.scope.appEvent = sinon.spy();
|
||||
|
||||
ctx.scope.delete_row();
|
||||
ctx.scope.deleteRow();
|
||||
});
|
||||
|
||||
it('should NOT ask for confirmation', function () {
|
||||
|
Loading…
Reference in New Issue
Block a user