mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-24 02:05:48 -06:00
Enhancement: angular 19 (#8584)
This commit is contained in:
@@ -9,6 +9,7 @@ import { IfOwnerDirective } from './if-owner.directive'
|
||||
<button *pngxIfOwner="{ id: 2, owner: user1 }">Some Text</button>
|
||||
</div>
|
||||
`,
|
||||
imports: [IfOwnerDirective],
|
||||
})
|
||||
class TestComponent {}
|
||||
|
||||
@@ -18,7 +19,7 @@ describe('IfOwnerDirective', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [IfOwnerDirective, TestComponent],
|
||||
imports: [IfOwnerDirective, TestComponent],
|
||||
providers: [PermissionsService],
|
||||
})
|
||||
permissionsService = TestBed.inject(PermissionsService)
|
||||
|
||||
Reference in New Issue
Block a user