Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
fb188583
Commit
fb188583
authored
Dec 03, 2021
by
Oliver Bartsch
Browse files
[TASK] Add some more invalid cases
parent
1de6dfe9
Pipeline
#20482
passed with stages
in 4 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extensions/ter_fe2/Tests/Unit/Service/ValidExtensionVersionServiceTest.php
View file @
fb188583
...
...
@@ -74,7 +74,13 @@ class ValidExtensionVersionServiceTest extends \Nimut\TestingFramework\TestCase\
[
'Version v1.0.0 is invalid'
=>
'v1.0.0'
],
[
'Version 1.0.9999 is invalid'
=>
'1.0.9999'
],
[
'Version 1.0 is invalid'
=>
'1.0'
],
[
'Version 1..0 is invalid'
=>
'1..0'
],
[
'Version .1.0. is invalid'
=>
'.1.0.'
],
[
'Version 1.0.0 Free is invalid'
=>
'1.0.0 Free'
],
[
'Version 0.02.3 is invalid'
=>
'0.02.3'
],
[
'Version 1.a.3 is invalid'
=>
'1.a.3'
],
[
'Version 1-0-0 is invalid'
=>
'1-0-0'
],
[
'Version 100 is invalid'
=>
'100'
],
];
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment