Skip to content

Commit

Permalink
Remove tools references from NameAlreadyInUseTest
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Oct 26, 2020
1 parent fedf7b2 commit 24ad80a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/tests/System/NameAlreadyInUseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,12 @@ private function shouldParseDirectory($directoryRelativePath)
'concrete/mail',
'concrete/routes',
'concrete/single_pages',
'concrete/tools',
'concrete/vendor',
'concrete/views',
], true)) {
return false;
}
if (preg_match('%^concrete/blocks/\w+/(form|templates|src|tools)$%', $directoryRelativePath)) {
if (preg_match('%^concrete/blocks/\w+/(form|templates|src)$%', $directoryRelativePath)) {
// These directories don't contain PHP-only files
return false;
}
Expand Down

0 comments on commit 24ad80a

Please sign in to comment.