Skip to content

Commit

Permalink
Fix wp tests
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Nov 23, 2023
1 parent 6c9e495 commit b3410bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/wordpress/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ check_endpoint "" "302 Found"
echo -n "Checking setup page endpoint... "
check_endpoint "wp-admin/setup-config.php" "200 OK"

echo -n "Checking static endpoint (jpg)... "
check_endpoint "wp-content/themes/twentytwentyone/assets/images/Reading.jpg" "200 OK"
echo -n "Checking static endpoint (webp)... "
check_endpoint "wp-content/themes/twentytwentyfour/assets/images/windows.webp" "200 OK"

echo -n "Checking static endpoint (js)... "
check_endpoint "wp-content/themes/twentytwentyone/assets/js/editor.js" "200 OK"
echo -n "Checking static endpoint (woff2)... "
check_endpoint "wp-content/themes/twentytwentyfour/assets/fonts/jost/Jost-VariableFont_wght.woff2" "200 OK"

echo -n "Checking static endpoint (css)... "
check_endpoint "wp-content/themes/twentytwentyone/assets/css/print.css" "200 OK"
check_endpoint "wp-content/themes/twentytwentyfour/assets/css/button-online.css" "200 OK"

echo -n "Checking readme.html endpoint... "
check_endpoint "readme.html" "404 Not Found"
Expand Down

0 comments on commit b3410bf

Please sign in to comment.