summaryrefslogtreecommitdiff
path: root/spec/integration/php
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-04 12:30:59 -0700
committermo khan <mo.khan@gmail.com>2020-03-04 12:30:59 -0700
commit587b576e456ba7a3eabee15f01cc16d1bf2422b9 (patch)
treefb2343e776e74201f2d54e95faf7ad8a02207e10 /spec/integration/php
parent1891d63cc24ef1713a501acfaace43d2e0ae594e (diff)
Check report to ensure it matches the schema
Diffstat (limited to 'spec/integration/php')
-rw-r--r--spec/integration/php/composer_spec.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/integration/php/composer_spec.rb b/spec/integration/php/composer_spec.rb
index 271730c..2b6d697 100644
--- a/spec/integration/php/composer_spec.rb
+++ b/spec/integration/php/composer_spec.rb
@@ -117,19 +117,4 @@ RSpec.describe "composer" do
])
end
end
-
- #[ '1.0', '1.1', '2.0' ].each do |version|
- #context "when generating a `#{version}` report" do
- #let(:language) { 'php' }
- #let(:package_manager) { 'composer' }
- #let(:url) { "https://gitlab.com/gitlab-org/security-products/tests/#{language}-#{package_manager}.git" }
-
- #it 'matches the expected report' do
- #runner.clone(url)
- #report = runner.scan(env: { 'LM_REPORT_VERSION' => version })
- ##expect(report).to match_schema(version: version)
- #expect(report).to eql(fixture_file("expected/#{language}/#{package_manager}/v#{version}.json"))
- #end
- #end
- #end
end