Skip to content

Commit fd0a545

Browse files
committed
Fix test checking error message for volume name
1 parent 4025eb8 commit fd0a545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_volume_create_validation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ testWrongName() {
5454

5555
# checks
5656
assertEquals "Volume creation should fail for invalid name" "1" "${result}"
57-
assertContains "Error mentions invalid name and allowed pattern" "${error}" "volume name 'foo.bar' does not match allowed pattern '^[a-zA-Z0-9][\w\-]{1,250}$'"
57+
assertContains "Error mentions invalid name and allowed pattern" "${error}" "invalid volume name - 'foo.bar' does not match allowed pattern '^[a-zA-Z0-9][\w\-]{1,250}$'"
5858
}
5959

6060
. test.sh

0 commit comments

Comments
 (0)