Skip to content

Commit 5019f4e

Browse files
committed
Updated test as per validator contraints
1 parent debbdca commit 5019f4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Test/Unit/Service/ValidatorTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,14 +324,14 @@ protected function validateVersionsDataProvider(): array
324324
[
325325
'2.4.0',
326326
[
327-
ServiceInterface::NAME_OPENSEARCH => '1.2.1' //wrong
327+
ServiceInterface::NAME_OPENSEARCH => '1.2' //wrong
328328
],
329329
1
330330
],
331331
[
332332
'2.4.3-p2',
333333
[
334-
ServiceInterface::NAME_OPENSEARCH => '1.2.2'
334+
ServiceInterface::NAME_OPENSEARCH => '1.2'
335335
],
336336
0
337337
],
@@ -449,7 +449,7 @@ protected function validateVersionsDataProvider(): array
449449
ServiceInterface::NAME_DB_MARIA => '10.5.0', //wrong
450450
ServiceInterface::NAME_VARNISH => '7.1.0', //wrong
451451
ServiceInterface::NAME_REDIS => '6.1.3', //wrong
452-
ServiceInterface::NAME_OPENSEARCH => '1.2', //wrong
452+
ServiceInterface::NAME_OPENSEARCH => '1.2.0', //wrong
453453
ServiceInterface::NAME_RABBITMQ => '3.8.1' //wrong
454454
],
455455
6

0 commit comments

Comments
 (0)