From 92eddb7ba67033bbd628a2f2cd9d55d813f95150 Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Tue, 28 Mar 2023 13:35:42 -0400 Subject: [PATCH] Remove test for feature not in branch. LP 2002435 accidentally brought in the defaultNewRecord test added in LP 1989348 which fails as expected because that patch is not in this branch. Signed-off-by: Jason Boyer --- .../src/eg2/src/app/staff/admin/basic-admin-page.component.spec.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/basic-admin-page.component.spec.ts b/Open-ILS/src/eg2/src/app/staff/admin/basic-admin-page.component.spec.ts index 764c473b4d..e4db3ff741 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/basic-admin-page.component.spec.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/basic-admin-page.component.spec.ts @@ -28,7 +28,6 @@ class MockStaffBannerComponent { }) class MockAdminPageComponent { @Input() configLinkBasePath: string; - @Input() defaultNewRecord: IdlObject; @Input() disableOrgFilter: boolean; @Input() fieldOrder: string; @Input() idlClass: string; @@ -69,7 +68,6 @@ describe('Component: BasicAdminPage', () => { const data = [{ schema: 'schema1', table: 'table1', - defaultNewRecord: { field1: 'value1' }, enableUndelete: true }]; const parentRoute = { url: of('') }; @@ -100,11 +98,6 @@ describe('Component: BasicAdminPage', () => { fixture.detectChanges(); }); - it('sets default new record from routing data', () => { - const adminPage: MockAdminPageComponent = fixture.debugElement.query( - By.directive(MockAdminPageComponent)).componentInstance; - expect(adminPage.defaultNewRecord.a[0]).toEqual('value1'); - }); it('sets enableUndelete from routing data', () => { const adminPage: MockAdminPageComponent = fixture.debugElement.query( By.directive(MockAdminPageComponent)).componentInstance; -- 2.11.0