File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed
src/components/ControlPlanes Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 11import { describe , it , expect } from 'vitest' ;
22
3- import {
4- ControlPlaneType ,
5- ControlPlaneStatusCondition ,
6- ReadyStatus ,
7- } from '../../lib/api/types/crate/controlPlanes' ;
3+ import { ControlPlaneType , ControlPlaneStatusCondition , ReadyStatus } from '../../lib/api/types/crate/controlPlanes' ;
84import { canConnectToMCP } from './controlPlanes' ;
95
10- const createCondition = (
11- overrides : Partial < ControlPlaneStatusCondition > ,
12- ) : ControlPlaneStatusCondition => ( {
6+ const createCondition = ( overrides : Partial < ControlPlaneStatusCondition > ) : ControlPlaneStatusCondition => ( {
137 type : 'Unknown' ,
148 status : false ,
159 reason : 'DefaultReason' ,
@@ -18,14 +12,15 @@ const createCondition = (
1812 ...overrides ,
1913} ) ;
2014
21- const createControlPlane = (
22- conditions : ControlPlaneStatusCondition [ ] ,
23- ) : ControlPlaneType => ( {
15+ const createControlPlane = ( conditions : ControlPlaneStatusCondition [ ] ) : ControlPlaneType => ( {
2416 metadata : {
2517 name : '' ,
2618 namespace : '' ,
2719 } ,
2820 spec : {
21+ authentication : {
22+ enableSystemIdentityProvider : true ,
23+ } ,
2924 components : {
3025 crossplane : undefined ,
3126 btpServiceOperator : undefined ,
You can’t perform that action at this time.
0 commit comments