From: Jason Boyer Date: Tue, 28 Mar 2023 17:35:42 +0000 (-0400) Subject: Remove test for feature not in branch. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=92eddb7ba67033bbd628a2f2cd9d55d813f95150;p=Evergreen.git 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 --- 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;