@@ -735,7 +735,7 @@ func Test_objectMover_backupTargetObject(t *testing.T) {
735
735
graph := getObjectGraphWithObjs (tt .fields .objs )
736
736
737
737
// Get all the types to be considered for discovery
738
- g .Expect (getFakeDiscoveryTypes (ctx , graph )).To (Succeed ())
738
+ g .Expect (graph . getDiscoveryTypes (ctx )).To (Succeed ())
739
739
740
740
// trigger discovery the content of the source cluster
741
741
g .Expect (graph .Discovery (ctx , "" )).To (Succeed ())
@@ -826,7 +826,7 @@ func Test_objectMover_restoreTargetObject(t *testing.T) {
826
826
graph := getObjectGraph ()
827
827
828
828
// Get all the types to be considered for discovery
829
- g .Expect (getFakeDiscoveryTypes (ctx , graph )).To (Succeed ())
829
+ g .Expect (graph . getDiscoveryTypes (ctx )).To (Succeed ())
830
830
831
831
// trigger discovery the content of the source cluster
832
832
g .Expect (graph .Discovery (ctx , "" )).To (Succeed ())
@@ -934,7 +934,7 @@ func Test_objectMover_toDirectory(t *testing.T) {
934
934
graph := getObjectGraphWithObjs (tt .fields .objs )
935
935
936
936
// Get all the types to be considered for discovery
937
- g .Expect (getFakeDiscoveryTypes (ctx , graph )).To (Succeed ())
937
+ g .Expect (graph . getDiscoveryTypes (ctx )).To (Succeed ())
938
938
939
939
// trigger discovery the content of the source cluster
940
940
g .Expect (graph .Discovery (ctx , "" )).To (Succeed ())
@@ -1077,7 +1077,7 @@ func Test_objectMover_fromDirectory(t *testing.T) {
1077
1077
graph := getObjectGraph ()
1078
1078
1079
1079
// Get all the types to be considered for discovery
1080
- g .Expect (getFakeDiscoveryTypes (ctx , graph )).To (Succeed ())
1080
+ g .Expect (graph . getDiscoveryTypes (ctx )).To (Succeed ())
1081
1081
1082
1082
// gets a fakeProxy to an empty cluster with all the required CRDs
1083
1083
toProxy := getFakeProxyWithCRDs ()
@@ -1155,7 +1155,7 @@ func Test_getMoveSequence(t *testing.T) {
1155
1155
graph := getObjectGraphWithObjs (tt .fields .objs )
1156
1156
1157
1157
// Get all the types to be considered for discovery
1158
- g .Expect (getFakeDiscoveryTypes (ctx , graph )).To (Succeed ())
1158
+ g .Expect (graph . getDiscoveryTypes (ctx )).To (Succeed ())
1159
1159
1160
1160
// trigger discovery the content of the source cluster
1161
1161
g .Expect (graph .Discovery (ctx , "" )).To (Succeed ())
@@ -1188,7 +1188,7 @@ func Test_objectMover_move_dryRun(t *testing.T) {
1188
1188
graph := getObjectGraphWithObjs (tt .fields .objs )
1189
1189
1190
1190
// Get all the types to be considered for discovery
1191
- g .Expect (getFakeDiscoveryTypes (ctx , graph )).To (Succeed ())
1191
+ g .Expect (graph . getDiscoveryTypes (ctx )).To (Succeed ())
1192
1192
1193
1193
// trigger discovery the content of the source cluster
1194
1194
g .Expect (graph .Discovery (ctx , "" )).To (Succeed ())
@@ -1263,7 +1263,7 @@ func Test_objectMover_move(t *testing.T) {
1263
1263
graph := getObjectGraphWithObjs (tt .fields .objs )
1264
1264
1265
1265
// Get all the types to be considered for discovery
1266
- g .Expect (getFakeDiscoveryTypes (ctx , graph )).To (Succeed ())
1266
+ g .Expect (graph . getDiscoveryTypes (ctx )).To (Succeed ())
1267
1267
1268
1268
// trigger discovery the content of the source cluster
1269
1269
g .Expect (graph .Discovery (ctx , "" )).To (Succeed ())
@@ -1375,7 +1375,7 @@ func Test_objectMover_move_with_Mutator(t *testing.T) {
1375
1375
graph := getObjectGraphWithObjs (tt .fields .objs )
1376
1376
1377
1377
// Get all the types to be considered for discovery
1378
- g .Expect (getFakeDiscoveryTypes (ctx , graph )).To (Succeed ())
1378
+ g .Expect (graph . getDiscoveryTypes (ctx )).To (Succeed ())
1379
1379
1380
1380
// trigger discovery the content of the source cluster
1381
1381
g .Expect (graph .Discovery (ctx , "" )).To (Succeed ())
@@ -1660,7 +1660,7 @@ func Test_objectMover_checkProvisioningCompleted(t *testing.T) {
1660
1660
graph := getObjectGraphWithObjs (tt .fields .objs )
1661
1661
1662
1662
// Get all the types to be considered for discovery
1663
- g .Expect (getFakeDiscoveryTypes (ctx , graph )).To (Succeed ())
1663
+ g .Expect (graph . getDiscoveryTypes (ctx )).To (Succeed ())
1664
1664
1665
1665
// trigger discovery the content of the source cluster
1666
1666
g .Expect (graph .Discovery (ctx , "" )).To (Succeed ())
@@ -1906,7 +1906,7 @@ func Test_objectMoverService_ensureNamespaces(t *testing.T) {
1906
1906
graph := getObjectGraphWithObjs (tt .fields .objs )
1907
1907
1908
1908
// Get all the types to be considered for discovery
1909
- g .Expect (getFakeDiscoveryTypes (ctx , graph )).To (Succeed ())
1909
+ g .Expect (graph . getDiscoveryTypes (ctx )).To (Succeed ())
1910
1910
1911
1911
// Trigger discovery the content of the source cluster
1912
1912
g .Expect (graph .Discovery (ctx , "" )).To (Succeed ())
@@ -2385,7 +2385,7 @@ func TestWaitReadyForMove(t *testing.T) {
2385
2385
}
2386
2386
2387
2387
// Get all the types to be considered for discovery
2388
- g .Expect (getFakeDiscoveryTypes (ctx , graph )).To (Succeed ())
2388
+ g .Expect (graph . getDiscoveryTypes (ctx )).To (Succeed ())
2389
2389
2390
2390
// trigger discovery the content of the source cluster
2391
2391
g .Expect (graph .Discovery (ctx , "" )).To (Succeed ())
0 commit comments