@@ -82,6 +82,16 @@ public function testSetStringValue(): void
82
82
$ this ->assertSame ('bar ' , $ redis ->get ('foo ' ));
83
83
}
84
84
85
+ /**
86
+ * @group connected
87
+ * @group cluster
88
+ * @requiresRedisVersion >= 6.0.0
89
+ */
90
+ public function testSetStringValueUsingCluster (): void
91
+ {
92
+ $ this ->testSetStringValue ();
93
+ }
94
+
85
95
/**
86
96
* @group connected
87
97
* @requiresRedisVersion >= 2.6.12
@@ -94,6 +104,16 @@ public function testSetStringValueWithModifierEX(): void
94
104
$ this ->assertSame (1 , $ redis ->ttl ('foo ' ));
95
105
}
96
106
107
+ /**
108
+ * @group connected
109
+ * @group cluster
110
+ * @requiresRedisVersion >= 6.0.0
111
+ */
112
+ public function testSetStringValueWithModifierEXUsingCluster (): void
113
+ {
114
+ $ this ->testSetStringValueWithModifierEX ();
115
+ }
116
+
97
117
/**
98
118
* @group connected
99
119
* @requiresRedisVersion >= 2.6.12
@@ -109,6 +129,16 @@ public function testSetStringValueWithModifierPX(): void
109
129
$ this ->assertLessThanOrEqual (1000 , $ pttl );
110
130
}
111
131
132
+ /**
133
+ * @group connected
134
+ * @group cluster
135
+ * @requiresRedisVersion >= 6.0.0
136
+ */
137
+ public function testSetStringValueWithModifierPXUsingCluster (): void
138
+ {
139
+ $ this ->testSetStringValueWithModifierPX ();
140
+ }
141
+
112
142
/**
113
143
* @group connected
114
144
* @requiresRedisVersion >= 2.6.12
@@ -121,6 +151,16 @@ public function testSetStringValueWithModifierNX(): void
121
151
$ this ->assertNull ($ redis ->set ('foo ' , 'bar ' , 'NX ' ));
122
152
}
123
153
154
+ /**
155
+ * @group connected
156
+ * @group cluster
157
+ * @requiresRedisVersion >= 6.0.0
158
+ */
159
+ public function testSetStringValueWithModifierNXUsingCluster (): void
160
+ {
161
+ $ this ->testSetStringValueWithModifierNX ();
162
+ }
163
+
124
164
/**
125
165
* @group connected
126
166
* @requiresRedisVersion >= 2.6.12
@@ -135,11 +175,20 @@ public function testSetStringValueWithModifierXX(): void
135
175
$ this ->assertNull ($ redis ->set ('foofoo ' , 'barbar ' , 'XX ' ));
136
176
}
137
177
178
+ /**
179
+ * @group connected
180
+ * @group cluster
181
+ * @requiresRedisVersion >= 6.0.0
182
+ */
183
+ public function testSetStringValueWithModifierXXUsingCluster (): void
184
+ {
185
+ $ this ->testSetStringValueWithModifierXX ();
186
+ }
187
+
138
188
/**
139
189
* @group connected
140
190
* @group cluster
141
191
* @requiresRedisVersion >= 3.0.0
142
- * @return void
143
192
*/
144
193
public function testSetStringValueInClusterMode (): void
145
194
{
0 commit comments