File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
tests/fixtures/fiscal-datapackage Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ protected function getJsonSchemaFileFromRegistry($profile)
7373 if ($ filename = Registry::getJsonSchemaFile ($ profile )) {
7474 return $ filename ;
7575 } else {
76- return Registry:: getJsonSchemaFile ( " data-package " );
76+ return parent :: getJsonSchemaFileFromRegistry ( $ profile );
7777 }
7878 }
7979}
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ protected function getJsonSchemaFileFromRegistry($profile)
5858 if ($ filename = Registry::getJsonSchemaFile ($ profile )) {
5959 return $ filename ;
6060 } else {
61- return Registry:: getJsonSchemaFile ( " data-resource " );
61+ return parent :: getJsonSchemaFileFromRegistry ( $ profile );
6262 }
6363 }
6464}
Original file line number Diff line number Diff line change 66 {
77 "name" : " budget" ,
88 "title" : " Budget" ,
9- "profile" : " fiscal- data-resource" ,
9+ "profile" : " data-resource" ,
1010 "data" : [" budget.csv" ],
1111 "schema" : {
1212 "fields" : [
4343 {
4444 "name" : " entities" ,
4545 "title" : " Entities" ,
46- "profile" : " fiscal- data-resource" ,
46+ "profile" : " data-resource" ,
4747 "data" : [" entities.csv" ],
4848 "schema" : {
4949 "fields" : [
You can’t perform that action at this time.
0 commit comments