mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-05 20:18:42 +00:00
fix tests
This commit is contained in:
parent
1e23943085
commit
c88829efd6
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
|
@ -40,17 +40,6 @@ jobs:
|
||||||
restore-keys: ${{ runner.os }}-composer-
|
restore-keys: ${{ runner.os }}-composer-
|
||||||
- name: Setup Composer
|
- name: Setup Composer
|
||||||
run: composer install
|
run: composer install
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@main
|
|
||||||
with:
|
|
||||||
fetch-depth: 1
|
|
||||||
- name: Checkout Build Repository
|
|
||||||
uses: actions/checkout@main
|
|
||||||
with:
|
|
||||||
fetch-depth: 1
|
|
||||||
ref: develop
|
|
||||||
repository: Karaka-Management/Build
|
|
||||||
path: Build
|
|
||||||
- name: Autoformat
|
- name: Autoformat
|
||||||
run: |
|
run: |
|
||||||
ls -la ./
|
ls -la ./
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ namespace phpOMS\tests\Message;
|
||||||
|
|
||||||
require_once __DIR__ . '/../Autoloader.php';
|
require_once __DIR__ . '/../Autoloader.php';
|
||||||
|
|
||||||
use phpOMS\Localization\ISO639x1Enum;
|
|
||||||
use phpOMS\Message\ResponseAbstract;
|
use phpOMS\Message\ResponseAbstract;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -56,7 +55,6 @@ final class ResponseAbstractTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
self::assertNull($this->response->get('asdf'));
|
self::assertNull($this->response->get('asdf'));
|
||||||
self::assertEquals('', $this->response->getBody());
|
self::assertEquals('', $this->response->getBody());
|
||||||
self::assertTrue(ISO639x1Enum::isValidValue($this->response->header->l11n->language));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user