diff options
| author | Tetiana Chupryna <tchupryna@gitlab.com> | 2020-08-03 23:39:21 +0300 |
|---|---|---|
| committer | Tetiana Chupryna <tchupryna@gitlab.com> | 2020-08-21 13:09:13 +0300 |
| commit | e08b5a38a7fcade1851637bd401a6097193db00d (patch) | |
| tree | f9202edafc51bb67f307a2b8a75a62f3772c3415 /spec | |
| parent | b272c287f2709c8a2dce0c2311842c3ddb260999 (diff) | |
Fix some failed tests
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/fixtures/expected/java/maven-multimodules/v2.0.json | 14 | ||||
| -rw-r--r-- | spec/fixtures/expected/java/maven-multimodules/v2.1.json | 14 | ||||
| -rw-r--r-- | spec/integration/python/pip_spec.rb | 2 |
3 files changed, 16 insertions, 14 deletions
diff --git a/spec/fixtures/expected/java/maven-multimodules/v2.0.json b/spec/fixtures/expected/java/maven-multimodules/v2.0.json index 594c36e..c901899 100644 --- a/spec/fixtures/expected/java/maven-multimodules/v2.0.json +++ b/spec/fixtures/expected/java/maven-multimodules/v2.0.json @@ -8,9 +8,9 @@ "count": 16 }, { - "id": "BSD-4-Clause", - "name": "BSD 4-Clause \"Original\" or \"Old\" License", - "url": "http://directory.fsf.org/wiki/License:BSD_4Clause", + "id": "bsd", + "name": "BSD", + "url": "http://en.wikipedia.org/wiki/BSD_licenses#4-clause_license_.28original_.22BSD_License.22.29", "count": 4 }, { @@ -41,7 +41,7 @@ "." ], "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { @@ -52,7 +52,7 @@ "." ], "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { @@ -63,7 +63,7 @@ "." ], "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { @@ -252,7 +252,7 @@ "." ], "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { diff --git a/spec/fixtures/expected/java/maven-multimodules/v2.1.json b/spec/fixtures/expected/java/maven-multimodules/v2.1.json index 492f36c..227cab0 100644 --- a/spec/fixtures/expected/java/maven-multimodules/v2.1.json +++ b/spec/fixtures/expected/java/maven-multimodules/v2.1.json @@ -7,9 +7,9 @@ "url": "https://opensource.org/licenses/Apache-2.0" }, { - "id": "BSD-4-Clause", - "name": "BSD 4-Clause \"Original\" or \"Old\" License", - "url": "http://directory.fsf.org/wiki/License:BSD_4Clause" + "id": "bsd", + "name": "BSD", + "url": "http://en.wikipedia.org/wiki/BSD_licenses#4-clause_license_.28original_.22BSD_License.22.29" }, { "id": "LGPL-2.1", @@ -34,7 +34,7 @@ "package_manager": "maven", "path": "pom.xml", "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { @@ -43,7 +43,7 @@ "package_manager": "maven", "path": "pom.xml", "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { @@ -52,7 +52,7 @@ "package_manager": "maven", "path": "pom.xml", "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { @@ -207,7 +207,7 @@ "package_manager": "maven", "path": "pom.xml", "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { diff --git a/spec/integration/python/pip_spec.rb b/spec/integration/python/pip_spec.rb index 3d6b82f..0bf27a4 100644 --- a/spec/integration/python/pip_spec.rb +++ b/spec/integration/python/pip_spec.rb @@ -54,6 +54,8 @@ RSpec.describe "pip" do report = runner.scan + pp report + expect(report.licenses_for('webencodings')).to eq(['bsd']) expect(report.licenses_for('idna')).to eq(['bsd-like']) expect(report.licenses_for('EasyProcess')).to eq(['bsd']) |
