From 5ab115598c66dc4c636bddb974b9e4b78b338e91 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Mon, 22 Oct 2018 21:11:09 +0200 Subject: [PATCH] Code Standards --- tests/ApiTest.php | 2 +- tests/DatabaseTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ApiTest.php b/tests/ApiTest.php index 639b72558b..4d6d6f082b 100644 --- a/tests/ApiTest.php +++ b/tests/ApiTest.php @@ -12,7 +12,7 @@ use Friendica\Core\Protocol; use Friendica\Core\System; use Friendica\Network\HTTPException; -require_once(__DIR__ . '/../include/api.php'); +require_once __DIR__ . '/../include/api.php'; /** * Tests for the API functions. diff --git a/tests/DatabaseTest.php b/tests/DatabaseTest.php index 6798f60934..ec1eb290d1 100644 --- a/tests/DatabaseTest.php +++ b/tests/DatabaseTest.php @@ -14,7 +14,7 @@ use PHPUnit\DbUnit\TestCaseTrait; use PHPUnit\Framework\TestCase; use PHPUnit_Extensions_Database_DB_IDatabaseConnection; -require_once(__DIR__ . '/../boot.php'); +require_once __DIR__ . '/../boot.php'; /** * Abstract class used by tests that need a database. -- 2.39.5