mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-21 17:28:31 -05:00
update: more tests + sail docker-compose
This commit is contained in:
@@ -20,7 +20,7 @@ beforeEach(function (): void {
|
||||
test('authorize', function (): void {
|
||||
$actual = $this->subject->authorize();
|
||||
|
||||
$this->assertTrue($actual);
|
||||
expect($actual)->toBeTrue();
|
||||
});
|
||||
|
||||
test('rules', function (): void {
|
||||
@@ -123,11 +123,11 @@ test('rules', function (): void {
|
||||
test('messages', function (): void {
|
||||
$actual = $this->subject->messages();
|
||||
|
||||
$this->assertEquals([
|
||||
expect($actual)->toEqual([
|
||||
'igdb.in' => "The IGBB ID must be 0 if the media doesn't exist on IGDB or you're not uploading a game.",
|
||||
'tmdb.in' => "The TMDB ID must be 0 if the media doesn't exist on TMDB or you're not uploading a tv show or movie.",
|
||||
'imdb.in' => "The IMDB ID must be 0 if the media doesn't exist on IMDB or you're not uploading a tv show or movie.",
|
||||
'tvdb.in' => "The TVDB ID must be 0 if the media doesn't exist on TVDB or you're not uploading a tv show.",
|
||||
'mal.in' => "The MAL ID must be 0 if the media doesn't exist on MAL or you're not uploading a tv or movie.",
|
||||
], $actual);
|
||||
]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user