Fix file name of start page test
phpcs-errors:1646 phpunit-status:successful
This commit is contained in:
parent
4ac6b8e9a5
commit
6f89063d44
|
@ -28,7 +28,7 @@ echo "phpcs-errors:$PHPCS_RESULT";
|
||||||
|
|
||||||
# Run PHPUnit
|
# 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)
|
$(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=$?
|
PHPUNIT_EC=$?
|
||||||
|
|
|
@ -10,11 +10,10 @@ declare(strict_types=1);
|
||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
final class StartPageLoadsTest extends TestCase {
|
final class StartPageTest extends TestCase {
|
||||||
|
|
||||||
public function testHTMLOutput():void {
|
public function testHTMLOutput():void {
|
||||||
|
|
||||||
ob_start();
|
|
||||||
include __DIR__ . "/../index.php";
|
include __DIR__ . "/../index.php";
|
||||||
$output = $this->getActualOutput();
|
$output = $this->getActualOutput();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user