Add logging volume mounts for coffee and teapot services; improve error message in RpcClient

This commit is contained in:
netkas 2025-03-18 15:14:42 -04:00
parent fef9383dd2
commit 33706d0b50
Signed by: netkas
GPG key ID: 4D8629441B76E4CC
3 changed files with 3 additions and 10 deletions

View file

@ -24,6 +24,7 @@ services:
volumes: volumes:
- ./tests/docker/coffee/config:/etc/config - ./tests/docker/coffee/config:/etc/config
- ./tests/docker/coffee/data:/etc/socialbox - ./tests/docker/coffee/data:/etc/socialbox
- ./tests/docker/coffee/logs:/var/log
environment: environment:
# No need to change these values # No need to change these values
LOG_LEVEL: ${LOG_LEVEL:-debug} LOG_LEVEL: ${LOG_LEVEL:-debug}
@ -125,6 +126,7 @@ services:
volumes: volumes:
- ./tests/docker/teapot/config:/etc/config - ./tests/docker/teapot/config:/etc/config
- ./tests/docker/teapot/data:/etc/socialbox - ./tests/docker/teapot/data:/etc/socialbox
- ./tests/docker/teapot/logs:/var/log
environment: environment:
# No need to change these values # No need to change these values
LOG_LEVEL: ${LOG_LEVEL:-debug} LOG_LEVEL: ${LOG_LEVEL:-debug}

View file

@ -481,7 +481,7 @@
publicKey: $this->serverPublicSigningKey, publicKey: $this->serverPublicSigningKey,
)) ))
{ {
throw new RpcException('Failed to verify the response signature'); throw new RpcException('The response signature cannot be verified with the server\'s public signing key');
} }
} }
catch (CryptographyException $e) catch (CryptographyException $e)

View file

@ -1,9 +0,0 @@
<?php
namespace Socialbox;
use PHPUnit\Framework\TestCase;
class SocialClientSessionTest extends TestCase
{
}