Skip to content

Refactor: mapping creation and mappings tests#102

Open
syphax-bouazzouni wants to merge 17 commits intoncbo:masterfrom
ontoportal-lirmm:pr/refactor/re-use-centralized-mapping-creation
Open

Refactor: mapping creation and mappings tests#102
syphax-bouazzouni wants to merge 17 commits intoncbo:masterfrom
ontoportal-lirmm:pr/refactor/re-use-centralized-mapping-creation

Conversation

@syphax-bouazzouni
Copy link

Prerequisite

Changes

  • simplify the post (creation of a new mapping) in the mappings_controller.rb, by re-using LinkedData::Mappings.create_mapping and models validations
  • update mappings tests to use the new mappings model (added two fields subject_source_id and object_source_id)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant