mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-1731] update material2 beta12 e angular2 4.4.5 (#2475)
* update material2 beta12 update angular2 4.4.5 * fix changed version js-api * update types hammerjs * fix test * clean old doc * fix pagination test * fix test * missing update packages * fix <mat-form-field> for select box * start task component test
This commit is contained in:
committed by
Denys Vuika
parent
9663971256
commit
fcb292c849
@@ -17,7 +17,7 @@
|
||||
|
||||
import { NO_ERRORS_SCHEMA, SimpleChange } from '@angular/core';
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { MdButtonModule, MdInputModule } from '@angular/material';
|
||||
import { MatButtonModule, MatInputModule } from '@angular/material';
|
||||
import { By } from '@angular/platform-browser';
|
||||
import { Observable } from 'rxjs/Rx';
|
||||
|
||||
@@ -63,8 +63,8 @@ describe('TaskDetailsComponent', () => {
|
||||
imports: [
|
||||
CoreModule,
|
||||
ActivitiFormModule,
|
||||
MdButtonModule,
|
||||
MdInputModule
|
||||
MatButtonModule,
|
||||
MatInputModule
|
||||
],
|
||||
declarations: [
|
||||
TaskDetailsComponent,
|
||||
@@ -266,13 +266,13 @@ describe('TaskDetailsComponent', () => {
|
||||
});
|
||||
|
||||
it('should display a dialog to the user when a form error occurs', () => {
|
||||
let dialogEl = window.document.querySelector('md-dialog-content');
|
||||
let dialogEl = window.document.querySelector('mat-dialog-content');
|
||||
expect(dialogEl).toBeNull();
|
||||
|
||||
component.onFormError({});
|
||||
fixture.detectChanges();
|
||||
|
||||
dialogEl = window.document.querySelector('md-dialog-content');
|
||||
dialogEl = window.document.querySelector('mat-dialog-content');
|
||||
expect(dialogEl).not.toBeNull();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user