Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
git /
cesa-v3 /
cesa-v3 /
Delete
Unzip
Name
Size
Permission
Date
Action
.vscode
[ DIR ]
drwxr-xr-x
2026-04-02 11:48
config
[ DIR ]
drwxr-xr-x
2026-05-18 12:51
documentation
[ DIR ]
drwxr-xr-x
2026-04-02 11:48
public
[ DIR ]
drwxr-xr-x
2026-04-02 11:48
scripts
[ DIR ]
drwxr-xr-x
2026-05-18 12:51
src
[ DIR ]
drwxr-xr-x
2026-05-18 12:51
templates
[ DIR ]
drwxr-xr-x
2026-05-20 09:05
tests
[ DIR ]
drwxr-xr-x
2026-05-18 12:51
.cursorignore
45
B
-rw-r--r--
2026-04-02 11:48
.env
3.45
KB
-rw-r--r--
2026-05-18 12:51
.env.dev
3
KB
-rw-r--r--
2026-05-18 12:51
.env.live
3.51
KB
-rw-r--r--
2026-05-18 12:51
.gitignore
608
B
-rw-r--r--
2025-07-04 14:25
composer.json
3.89
KB
-rw-r--r--
2026-05-18 12:51
composer.lock
521.39
KB
-rw-r--r--
2026-05-18 12:51
phpunit.xml.dist
812
B
-rw-r--r--
2026-05-18 12:51
run-oauth-tests.sh
1.03
KB
-rw-r--r--
2025-07-04 14:25
symfony.lock
14.06
KB
-rw-r--r--
2026-05-18 12:51
vendor.tar.gz
19.27
MB
-rw-r--r--
2026-04-02 11:48
Save
Rename
#!/bin/bash # OAuth2 API Test Runner # This script runs the OAuth2 API tests with proper setup echo "๐ Starting OAuth2 API Tests..." # Check if we're in the right directory if [ ! -f "bin/console" ]; then echo "โ Error: Please run this script from the Symfony project root directory" exit 1 fi # Check if OAuth2 tables exist echo "๐ Checking OAuth2 tables..." OAUTH_TABLES=$(php bin/console doctrine:query:sql "SHOW TABLES LIKE 'oauth2_%'" 2>/dev/null | wc -l) if [ "$OAUTH_TABLES" -eq 0 ]; then echo "โ Error: OAuth2 tables not found. Please run the migration first:" echo " php bin/console doctrine:migrations:migrate" exit 1 fi echo "โ OAuth2 tables found" # Run the tests echo "๐งช Running OAuth2 API tests..." # Run specific test class php bin/phpunit tests/EventBundle/Controller/SchoolEventControllerTest.php # Check exit code if [ $? -eq 0 ]; then echo "โ All OAuth2 API tests passed!" else echo "โ Some OAuth2 API tests failed!" exit 1 fi echo "๐ OAuth2 API testing completed!"