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 @@ -57,7 +57,9 @@ public function testVirtualReplicaSettingRemove(): void
57
57
58
58
$ newReplicas = $ this ->replicaManager ->removeReplicaFromReplicaSetting ($ replicaSetting , $ replicaToRemove );
59
59
60
- $ this ->assertNotContains ($ replicaToRemove , $ newReplicas );
60
+ $ this ->assertNotContains ("virtual( $ replicaToRemove) " , $ newReplicas );
61
+ $ this ->assertContains ('virtual(replica1) ' , $ newReplicas );
62
+ $ this ->assertContains ('virtual(replica3) ' , $ newReplicas );
61
63
}
62
64
63
65
public function testStandardReplicaSettingRemove (): void
@@ -72,5 +74,8 @@ public function testStandardReplicaSettingRemove(): void
72
74
$ newReplicas = $ this ->replicaManager ->removeReplicaFromReplicaSetting ($ replicaSetting , $ replicaToRemove );
73
75
74
76
$ this ->assertNotContains ($ replicaToRemove , $ newReplicas );
77
+ $ this ->assertContains ('replica1 ' , $ newReplicas );
78
+ $ this ->assertContains ('replica3 ' , $ newReplicas );
79
+
75
80
}
76
81
}
You can’t perform that action at this time.
0 commit comments