$ ./vendor/bin/phpunit --no-coverage tests/Transport/TransportTest.php
PHPUnit 9.6.3 by Sebastian Bergmann and contributors.
F 1 / 1 (100%)
Time: 00:00.088, Memory: 6.00 MB
There was 1 failure:
1) PlanetTeamSpeak\TeamSpeak3Framework\Tests\Transport\TransportTest::testGetAdapterTypeReturnValues
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'MockServerQuery'
+'PlanetTeamSpeak\TeamSpeak3Framework\Adapter\MockServerQuery'
C:\Users\Sebastian\Downloads\ts3phpframework\tests\Transport\TransportTest.php:27
FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
After (with this fix):
$ ./vendor/bin/phpunit --no-coverage tests/Transport/TransportTest.php
PHPUnit 9.6.3 by Sebastian Bergmann and contributors.
. 1 / 1 (100%)
Time: 00:00.009, Memory: 6.00 MB
OK (1 test, 2 assertions)
Summary
The class name now contains the full namespace path, so we need to replace the
\
instead of the_
.Resolves #187
Debugging Info
Before (without this fix):
After (with this fix):
PHPUnit Tests
Before (without this fix):
After (with this fix):