dependabot-auto-merge / dependabot (pull_request_target) Skipped
Fix PHP code style issues / php-code-styling (push) Successful in 6s
PHPStan / phpstan (push) Successful in 2m32s
run-tests / P8.3 - L11.* - prefer-lowest - ubuntu-latest (push) Failing after 34s
run-tests / P8.4 - L11.* - prefer-lowest - ubuntu-latest (push) Canceled after 0s
run-tests / P8.4 - L11.* - prefer-stable - ubuntu-latest (push) Canceled after 0s
run-tests / P8.3 - L12.* - prefer-lowest - ubuntu-latest (push) Canceled after 0s
run-tests / P8.3 - L12.* - prefer-stable - ubuntu-latest (push) Canceled after 0s
run-tests / P8.4 - L12.* - prefer-lowest - ubuntu-latest (push) Canceled after 0s
run-tests / P8.4 - L12.* - prefer-stable - ubuntu-latest (push) Canceled after 0s
run-tests / P8.3 - L11.* - prefer-stable - ubuntu-latest (push) Canceled after 2s
- Rename Composer package to mattitja/laravel-plausible-proxy and namespace to Mattitja\LaravelPlausibleProxy - Point homepage and links to git.mattitja.se - Forward only User-Agent and visitor IP (X-Forwarded-For) to Plausible instead of all request headers - Forward all event fields and return Plausible's upstream response - Accept props as array or JSON string - Drop Laravel 10, upgrade Larastan to 3 and PHPStan plugins to 2 - Remove broken facade alias and dead autoload paths - Clean up README, issue template and remove invalid FUNDING.yml
28 lines
675 B
PHP
28 lines
675 B
PHP
<?php
|
|
|
|
namespace Mattitja\LaravelPlausibleProxy\Tests;
|
|
|
|
use Mattitja\LaravelPlausibleProxy\LaravelPlausibleProxyServiceProvider;
|
|
use Orchestra\Testbench\TestCase as Orchestra;
|
|
|
|
class TestCase extends Orchestra
|
|
{
|
|
protected function getPackageProviders($app)
|
|
{
|
|
return [
|
|
LaravelPlausibleProxyServiceProvider::class,
|
|
];
|
|
}
|
|
|
|
public function getEnvironmentSetUp($app)
|
|
{
|
|
config()->set('database.default', 'testing');
|
|
|
|
/*
|
|
foreach (\Illuminate\Support\Facades\File::allFiles(__DIR__ . '/database/migrations') as $migration) {
|
|
(include $migration->getRealPath())->up();
|
|
}
|
|
*/
|
|
}
|
|
}
|