Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion tests/Core/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ public function testMiddlewareAliases(): void
// Test that middleware aliases are properly configured
$reflection = new \ReflectionClass($this->app);
$property = $reflection->getProperty('middlewareAliases');
$property->setAccessible(true);
$aliases = $property->getValue($this->app);

// 'rate-limiter' removed in 4.0.0: the RateLimiter did not limit under PHP-FPM (SPEC-093)
Expand Down
1 change: 0 additions & 1 deletion tests/Database/DatabaseDsnTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class DatabaseDsnTest extends TestCase
private function dsn(string $driver, array $config): string
{
$method = new \ReflectionMethod(Database::class, 'buildDsn');
$method->setAccessible(true);

$dsn = $method->invoke(null, $driver, $config + ['database' => 'app']);
$this->assertIsString($dsn);
Expand Down
1 change: 0 additions & 1 deletion tests/Integration/TestHttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ private function isAppBooted(): bool
{
$reflection = new \ReflectionClass($this->app);
$booted = $reflection->getProperty('booted');
$booted->setAccessible(true);

return (bool) $booted->getValue($this->app);
}
Expand Down
Loading