File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,9 @@ public function testVirtualReplicaSettingRemove(): void
54
54
55
55
$ newReplicas = $ this ->replicaManager ->removeReplicaFromReplicaSetting ($ replicaSetting , $ replicaToRemove );
56
56
57
- $ this ->assertNotContains ($ replicaToRemove , $ newReplicas );
57
+ $ this ->assertNotContains ("virtual( $ replicaToRemove) " , $ newReplicas );
58
+ $ this ->assertContains ('virtual(replica1) ' , $ newReplicas );
59
+ $ this ->assertContains ('virtual(replica3) ' , $ newReplicas );
58
60
}
59
61
60
62
public function testStandardReplicaSettingRemove (): void
@@ -69,5 +71,8 @@ public function testStandardReplicaSettingRemove(): void
69
71
$ newReplicas = $ this ->replicaManager ->removeReplicaFromReplicaSetting ($ replicaSetting , $ replicaToRemove );
70
72
71
73
$ this ->assertNotContains ($ replicaToRemove , $ newReplicas );
74
+ $ this ->assertContains ('replica1 ' , $ newReplicas );
75
+ $ this ->assertContains ('replica3 ' , $ newReplicas );
76
+
72
77
}
73
78
}
You can’t perform that action at this time.
0 commit comments