Fixes non detection of plugins/themes from homepage in some cases

This commit is contained in:
erwanlr
2019-10-10 22:33:19 +01:00
parent a9062db57f
commit 40c2e9a54b
5 changed files with 19 additions and 7 deletions

View File

@@ -6,6 +6,8 @@ describe WPScan::Finders::Themes::UrlsInHomepage do
let(:url) { 'http://wp.lab/' }
let(:fixtures) { FINDERS_FIXTURES.join('themes', 'urls_in_homepage') }
# before { target.scope << 'sub.lab' }
it_behaves_like 'App::Finders::WpItems::URLsInHomepage' do
let(:type) { 'themes' }
let(:uniq_links) { true }