Skip to content

Commit db9784d

Browse files
authored
chore(tests): check both "test" and "tests" dirs (#1991)
1 parent 51fbfe3 commit db9784d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/run_test_suite.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ do
160160
continue
161161
fi
162162
if [ "$RUN_DEPLOYMENT_TESTS" != "true" ] &&
163-
[[ -z $(find $DIR/test/ -type f -name *Test.php -not -name Deploy*Test.php) ]]; then
163+
[[ -z $(find $DIR/test{,s}/ -type f -name *Test.php -not -name Deploy*Test.php 2>/dev/null) ]]; then
164164
echo "Skipping tests in $DIR (Deployment tests only)"
165165
continue
166166
fi

0 commit comments

Comments
 (0)