test fixed

This commit is contained in:
Gerard 2018-10-30 08:03:26 +01:00
parent da792a227c
commit 6ae781cc98
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import './index';
describe('Client', () => {
describe('Component vnClientHistory', () => {
describe('Component vnClientLog', () => {
let $componentController;
let $scope;
let controller;
@ -13,7 +13,7 @@ describe('Client', () => {
beforeEach(angular.mock.inject((_$componentController_, $rootScope) => {
$componentController = _$componentController_;
$scope = $rootScope.$new();
controller = $componentController('vnClientHistory', {$scope: $scope});
controller = $componentController('vnClientLog', {$scope: $scope});
controller.$scope.model = {data: [{newInstance: {id: 1}, oldInstance: {id: 2}}]};
}));