-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AAE-22098] Update AlfrescoApiService imports #4015
Changes from all commits
78b93e2
7309c25
1f00a2a
797489d
40f2bb8
1f60fec
9457d47
28c813f
e6e9023
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"migrations": [ | ||
{ | ||
"description": "Update alfresco-api imports", | ||
"version": "6.10.0-10366268804", | ||
"factory": "./7_0_0/index#updateAlfrescoApiImports", | ||
"package": "@alfresco/adf-core", | ||
"name": "move-out-alfresco-api" | ||
} | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ import { | |
import { By } from '@angular/platform-browser'; | ||
import { dummyCategoriesConstraints, dummyConstraints, dummyTagsConstraints } from '../../mock/action-parameter-constraints.mock'; | ||
import { securityMarksResponseMock, updateNotificationMock } from '../../mock/security-marks.mock'; | ||
import { CategoryService, NodeAction, TagService } from '@alfresco/adf-content-services'; | ||
import { AlfrescoApiService, AlfrescoApiServiceMock, CategoryService, NodeAction, TagService } from '@alfresco/adf-content-services'; | ||
import { MatDialog, MatDialogRef } from '@angular/material/dialog'; | ||
import { HarnessLoader } from '@angular/cdk/testing'; | ||
import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed'; | ||
|
@@ -63,7 +63,8 @@ describe('RuleActionUiComponent', () => { | |
|
||
beforeEach(() => { | ||
TestBed.configureTestingModule({ | ||
imports: [CoreTestingModule, RuleActionUiComponent] | ||
imports: [CoreTestingModule, RuleActionUiComponent], | ||
providers: [{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock }] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe in every place you have There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We moved AlfrescoApiService from core to @alfresco/adf-content-service in ADF |
||
}); | ||
|
||
fixture = TestBed.createComponent(RuleActionUiComponent); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line should not be needed at all, we have this configured in the CoreTestingModule
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we moved
AlfrescoApiService
from core to@alfresco/adf-content-service
in ADF, therefore it is not inCoreTestingModule
anymore