File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,19 @@ const PARENT_ARK = "Parent ARK"
2424var naanProfiles = map [string ]map [string ]struct {}{
2525 "default" : {
2626 "21198" : {},
27+ "13030" : {},
2728 },
2829 "test" : {
2930 "21198" : {},
31+ "13030" : {},
3032 },
3133 "bucketeer" : {
3234 "21198" : {},
35+ "13030" : {},
3336 },
3437 "fester" : {
3538 "21198" : {},
39+ "13030" : {},
3640 },
3741}
3842
Original file line number Diff line number Diff line change @@ -39,6 +39,20 @@ func TestVerifyARK(t *testing.T) {
3939 profile : "default" ,
4040 expectError : false ,
4141 },
42+ {
43+ name : "Valid ARK with CDL NAAN" ,
44+ ark : "ark:/13030/xyz123" ,
45+ location : testLocation ,
46+ profile : "default" ,
47+ expectError : false ,
48+ },
49+ {
50+ name : "Valid ARK with CDL NAAN" ,
51+ ark : "ark:/13030/xyz123" ,
52+ location : testLocation ,
53+ profile : "fester" ,
54+ expectError : false ,
55+ },
4256 {
4357 name : "Valid ARK with qualifier" ,
4458 ark : "ark:/21198/xyz123?version=2" ,
You can’t perform that action at this time.
0 commit comments