Remove testing-related configurations and references

Remove WordPress test container, test database script, and related dashboard links

[MAILPOET-6297]
This commit is contained in:
Jan Lysý
2025-03-10 16:08:11 +01:00
committed by Rostislav Wolný
parent f612c441f8
commit e0ce65f4d9
4 changed files with 0 additions and 26 deletions

View File

@ -56,15 +56,6 @@
<td>App for development</td>
<td><a href="http://localhost:8002">http://localhost:8002</a></td>
</tr>
<tr>
<td>🚥</td>
<td>
<a href="http://localhost:8003">WordPress Tests</a>
[<a href="http://localhost:8003/wp-admin/">wp-admin</a>]
</td>
<td>App for E2E tests</td>
<td><a href="http://localhost:8003">http://localhost:8003</a></td>
</tr>
<tr>
<td>💾</td>
<td>

View File

@ -1,10 +0,0 @@
#!/bin/bash
set -e
RUNMYSQL="mysql --user=root --password=${MYSQL_ROOT_PASSWORD}"
$RUNMYSQL <<EOSQL
CREATE DATABASE ${MYSQL_TEST_DATABASE};
GRANT ALL PRIVILEGES ON ${MYSQL_TEST_DATABASE}.* TO '${MYSQL_USER}'@'%';
FLUSH PRIVILEGES;
EOSQL

View File

@ -9,11 +9,6 @@ services:
- nfs-mailpoet:/var/www/html/wp-content/plugins/mailpoet
- nfs-mailpoet-premium:/var/www/html/wp-content/plugins/mailpoet-premium
test_wordpress:
volumes:
- nfs-mailpoet:/var/www/html/wp-content/plugins/mailpoet
- nfs-mailpoet-premium:/var/www/html/wp-content/plugins/mailpoet-premium
volumes:
nfs-wordpress:
driver: local

View File

@ -12,12 +12,10 @@ services:
image: mysql:5.7
volumes:
- my-datavolume:/var/lib/mysql
- ./dev/database/create_test_db.sh:/docker-entrypoint-initdb.d/10-create_test_db.sh
command: --sql_mode=STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ANSI,ONLY_FULL_GROUP_BY
environment:
MYSQL_ROOT_PASSWORD: somewordpress
MYSQL_DATABASE: wordpress
MYSQL_TEST_DATABASE: test_wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress