Fix unit tests

This commit is contained in:
Denys Vuika
2016-10-11 12:07:37 +01:00
parent 3042ae8060
commit 1b3b9f24c0
2 changed files with 16 additions and 5 deletions

View File

@@ -26,8 +26,8 @@ import { WidgetComponent } from './../widget.component';
})
export class HyperlinkWidget extends WidgetComponent implements OnInit {
linkUrl: string;
linkText: string;
linkUrl: string = WidgetComponent.DEFAULT_HYPERLINK_URL;
linkText: string = null;
ngOnInit() {
if (this.field) {