From 6d8b650f90681e89cc4c2ca1a98d025239038cc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Tue, 21 Nov 2023 11:37:21 +0100 Subject: [PATCH] tests: update snaps --- tests/testthat/_snaps/create_codemeta/cm2.json | 8 ++++++++ tests/testthat/_snaps/create_codemeta/raw_cm.json | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/tests/testthat/_snaps/create_codemeta/cm2.json b/tests/testthat/_snaps/create_codemeta/cm2.json index 1798724..29f463b 100644 --- a/tests/testthat/_snaps/create_codemeta/cm2.json +++ b/tests/testthat/_snaps/create_codemeta/cm2.json @@ -5,6 +5,7 @@ "identifier": "blabla", "description": "Creates JSON registry from cloned repos.", "name": "blabla: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropenscilabs/makeregistry", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -162,6 +163,7 @@ "identifier": "pkg2", "description": "Creates JSON registry from cloned repos.", "name": "pkg2: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropenscilabs/makeregistry", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -319,6 +321,7 @@ "identifier": "otherpkg", "description": "Creates JSON registry from cloned repos.", "name": "otherpkg: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropensci/makeregistry", "codeRepository": "https://github.com/ropensci/otherpkg", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -476,6 +479,7 @@ "identifier": "pkg1", "description": "Creates JSON registry from cloned repos.", "name": "pkg1: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropensci/pkg1", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -633,6 +637,7 @@ "identifier": "pkg1", "description": "Creates JSON registry from cloned repos.", "name": "pkg1: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropensci-archive/pkg1", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -790,6 +795,7 @@ "identifier": "pkg1", "description": "Creates JSON registry from cloned repos.", "name": "pkg1: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropensci-archive/pkg1", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -947,6 +953,7 @@ "identifier": "pkg1", "description": "Creates JSON registry from cloned repos.", "name": "pkg1: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropenscilabs/pkg1", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -1104,6 +1111,7 @@ "identifier": "pkg1", "description": "Creates JSON registry from cloned repos.", "name": "pkg1: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropenscilabs/pkg1", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", diff --git a/tests/testthat/_snaps/create_codemeta/raw_cm.json b/tests/testthat/_snaps/create_codemeta/raw_cm.json index 1798724..29f463b 100644 --- a/tests/testthat/_snaps/create_codemeta/raw_cm.json +++ b/tests/testthat/_snaps/create_codemeta/raw_cm.json @@ -5,6 +5,7 @@ "identifier": "blabla", "description": "Creates JSON registry from cloned repos.", "name": "blabla: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropenscilabs/makeregistry", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -162,6 +163,7 @@ "identifier": "pkg2", "description": "Creates JSON registry from cloned repos.", "name": "pkg2: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropenscilabs/makeregistry", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -319,6 +321,7 @@ "identifier": "otherpkg", "description": "Creates JSON registry from cloned repos.", "name": "otherpkg: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropensci/makeregistry", "codeRepository": "https://github.com/ropensci/otherpkg", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -476,6 +479,7 @@ "identifier": "pkg1", "description": "Creates JSON registry from cloned repos.", "name": "pkg1: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropensci/pkg1", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -633,6 +637,7 @@ "identifier": "pkg1", "description": "Creates JSON registry from cloned repos.", "name": "pkg1: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropensci-archive/pkg1", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -790,6 +795,7 @@ "identifier": "pkg1", "description": "Creates JSON registry from cloned repos.", "name": "pkg1: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropensci-archive/pkg1", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -947,6 +953,7 @@ "identifier": "pkg1", "description": "Creates JSON registry from cloned repos.", "name": "pkg1: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropenscilabs/pkg1", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT", @@ -1104,6 +1111,7 @@ "identifier": "pkg1", "description": "Creates JSON registry from cloned repos.", "name": "pkg1: Creates JSON registry from cloned repos.", + "relatedLink": "https://github.com/ropenscilabs/makeregistry", "codeRepository": "https://github.com/ropenscilabs/pkg1", "issueTracker": "https://github.com/ropenscilabs/makeregistry/issues", "license": "https://spdx.org/licenses/MIT",