@@ -9,12 +9,10 @@ Feature: Custom licences
9
9
And I navigate to "Licence > Licence manager" in site administration
10
10
And I click on "Create licence" "link"
11
11
And I set the following fields to these values:
12
- | shortname | MIT |
13
- | fullname | MIT Licence |
14
- | source | https ://opensource .org /licenses /MIT |
15
- | version [day ] | 1 |
16
- | version [month ] | January |
17
- | version [year ] | 2020 |
12
+ | shortname | MIT |
13
+ | fullname | MIT Licence |
14
+ | source | https ://opensource .org /licenses /MIT |
15
+ | Licence version | ##first day of January 2020 ## |
18
16
When I press "Save changes"
19
17
Then I should see "Licence manager"
20
18
And I should see "MIT Licence" in the "MIT" "table_row"
@@ -25,12 +23,10 @@ Feature: Custom licences
25
23
And I navigate to "Licence > Licence manager" in site administration
26
24
And I click on "Create licence" "link"
27
25
And I set the following fields to these values:
28
- | shortname | MIT |
29
- | fullname | MIT Licence |
30
- | source | opensource .org /licenses /MIT |
31
- | version [day ] | 1 |
32
- | version [month ] | January |
33
- | version [year ] | 2020 |
26
+ | shortname | MIT |
27
+ | fullname | MIT Licence |
28
+ | source | opensource .org /licenses /MIT |
29
+ | Licence version | ##2020 -01 -01 ## |
34
30
When I press "Save changes"
35
31
Then I should see "Invalid source URL"
36
32
And I set the following fields to these values:
@@ -49,12 +45,10 @@ Feature: Custom licences
49
45
And I navigate to "Licence > Licence manager" in site administration
50
46
And I click on "Create licence" "link"
51
47
And I set the following fields to these values:
52
- | shortname | MIT |
53
- | fullname | MIT Licence |
54
- | source | https ://opensource .org /licenses /MIT |
55
- | version [day ] | 1 |
56
- | version [month ] | March |
57
- | version [year ] | 2019 |
48
+ | shortname | MIT |
49
+ | fullname | MIT Licence |
50
+ | source | https ://opensource .org /licenses /MIT |
51
+ | Licence version | ##1 March 2019 ## |
58
52
When I press "Save changes"
59
53
Then I should see "Licence manager"
60
54
And I should see "2019030100" in the "MIT" "table_row"
@@ -65,12 +59,10 @@ Feature: Custom licences
65
59
And I navigate to "Licence > Licence manager" in site administration
66
60
And I click on "Create licence" "link"
67
61
And I set the following fields to these values:
68
- | shortname | MIT |
69
- | fullname | MIT Licence |
70
- | source | https ://opensource .org /licenses /MIT |
71
- | version [day ] | 1 |
72
- | version [month ] | March |
73
- | version [year ] | 2019 |
62
+ | shortname | MIT |
63
+ | fullname | MIT Licence |
64
+ | source | https ://opensource .org /licenses /MIT |
65
+ | Licence version | ##1 Mar 2019 ## |
74
66
And I press "Save changes"
75
67
And I should see "Licence manager"
76
68
And I should see "MIT Licence" in the "MIT" "table_row"
0 commit comments