@@ -338,7 +338,7 @@ func TestReconcileServiceBindingWithSecretConflict(t *testing.T) {
338
338
assertServiceBindingCurrentOperation (t , updatedServiceBinding , v1beta1 .ServiceBindingOperationBind )
339
339
assertServiceBindingOperationStartTimeSet (t , updatedServiceBinding , true )
340
340
assertServiceBindingReconciledGeneration (t , updatedServiceBinding , binding .Status .ReconciledGeneration )
341
- assertServiceBindingInProgressPropertiesNil (t , updatedServiceBinding )
341
+ assertServiceBindingInProgressPropertiesParameters (t , updatedServiceBinding , nil , "" )
342
342
// External properties are updated because the bind request with the Broker was successful
343
343
assertServiceBindingExternalPropertiesParameters (t , updatedServiceBinding , nil , "" )
344
344
assertServiceBindingOrphanMitigationSet (t , updatedServiceBinding , false )
@@ -2116,7 +2116,6 @@ func TestReconcileBindingWithSecretConflictFailedAfterFinalRetry(t *testing.T) {
2116
2116
assertServiceBindingCondition (t , updatedServiceBinding , v1beta1 .ServiceBindingConditionReady , v1beta1 .ConditionFalse , errorServiceBindingOrphanMitigation )
2117
2117
assertServiceBindingCondition (t , updatedServiceBinding , v1beta1 .ServiceBindingConditionFailed , v1beta1 .ConditionTrue , errorReconciliationRetryTimeoutReason )
2118
2118
assertServiceBindingStartingOrphanMitigation (t , updatedServiceBinding , binding )
2119
- assertServiceBindingInProgressPropertiesNil (t , updatedServiceBinding )
2120
2119
assertServiceBindingExternalPropertiesParameters (t , updatedServiceBinding , nil , "" )
2121
2120
2122
2121
kubeActions := fakeKubeClient .Actions ()
@@ -2478,13 +2477,14 @@ func TestReconcileBindingWithSetOrphanMitigation(t *testing.T) {
2478
2477
2479
2478
updatedServiceBinding = assertUpdateStatus (t , actions [1 ], binding ).(* v1beta1.ServiceBinding )
2480
2479
2480
+ assertServiceBindingExternalPropertiesNil (t , updatedServiceBinding )
2481
+
2481
2482
if tc .setOrphanMitigation {
2482
2483
assertServiceBindingStartingOrphanMitigation (t , updatedServiceBinding , binding )
2483
2484
} else {
2484
2485
assertServiceBindingReadyFalse (t , updatedServiceBinding )
2485
2486
assertServiceBindingCondition (t , updatedServiceBinding , v1beta1 .ServiceBindingConditionReady , v1beta1 .ConditionFalse )
2486
- assertServiceBindingOrphanMitigationSet (t , updatedServiceBinding , tc .setOrphanMitigation )
2487
- assertServiceBindingExternalPropertiesNil (t , updatedServiceBinding )
2487
+ assertServiceBindingOrphanMitigationSet (t , updatedServiceBinding , false )
2488
2488
}
2489
2489
})
2490
2490
}
0 commit comments