Fix file name of start page test

phpcs-errors:1646 phpunit-status:successful
This commit is contained in:
Joshua Ramon Enslin 2019-11-11 12:17:52 +01:00 committed by Stefan Rohde-Enslin
parent 4ac6b8e9a5
commit 6f89063d44
2 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,7 @@ echo "phpcs-errors:$PHPCS_RESULT";
# Run PHPUnit
PHPUNIT_TEST_BASE_DIR="/var/www/vhosts/museum-digital.de/sandkasten.museum-digital.de"
PHPUNIT_TEST_BASE_DIR="/var/www/vhosts/museum-digital.de/csvxml.imports.museum-digital.org"
$(php $PHPUNIT_TEST_BASE_DIR/vendor/bin/phpunit --stderr -c $PHPUNIT_TEST_BASE_DIR/tests/config.xml --testdox $PHPUNIT_TEST_BASE_DIR/tests)
PHPUNIT_EC=$?

View File

@ -10,11 +10,10 @@ declare(strict_types=1);
use PHPUnit\Framework\TestCase;
final class StartPageLoadsTest extends TestCase {
final class StartPageTest extends TestCase {
public function testHTMLOutput():void {
ob_start();
include __DIR__ . "/../index.php";
$output = $this->getActualOutput();