[PR #453] [MERGED] Add admin creds to unit testing #1257

Closed
opened 2026-02-26 03:30:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/453
Author: @BernardGoldberger
Created: 9/18/2016
Status: Merged
Merged: 9/19/2016
Merged by: @phanan

Base: masterHead: patch-8


📝 Commits (1)

  • bef3f9f Add admin creds to unit unit testing

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 phpunit.xml (+3 -0)

📄 Description

When I was runing unit tests I was receiving HTTP error exceptions because there was no admin creds configured.

1) ApplicationTest::testStaticUrlWithoutCDN
Symfony\Component\HttpKernel\Exception\HttpException:

C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Foundation\Application.php:882
C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Foundation\helpers.php:30
C:\wamp64\www\koel\database\seeds\UserTableSeeder.php:31
C:\wamp64\www\koel\database\seeds\UserTableSeeder.php:13
C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Database\Seeder.php:39
C:\wamp64\www\koel\database\seeds\DatabaseSeeder.php:16
C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Database\Console\Seeds\SeedCommand.php:63
C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php:2285
C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Database\Console\Seeds\SeedCommand.php:64
C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Container\Container.php:507
C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Console\Command.php:169
C:\wamp64\www\koel\vendor\symfony\console\Command\Command.php:256
C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Console\Command.php:155
C:\wamp64\www\koel\vendor\symfony\console\Application.php:791
C:\wamp64\www\koel\vendor\symfony\console\Application.php:186
C:\wamp64\www\koel\vendor\symfony\console\Application.php:117
C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Console\Application.php:64
C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php:159
C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:218
C:\wamp64\www\koel\tests\TestCase.php:56
C:\wamp64\www\koel\tests\TestCase.php:25

ERRORS!
Tests: 1, Assertions: 0, Errors: 1.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/453 **Author:** [@BernardGoldberger](https://github.com/BernardGoldberger) **Created:** 9/18/2016 **Status:** ✅ Merged **Merged:** 9/19/2016 **Merged by:** [@phanan](https://github.com/phanan) **Base:** `master` ← **Head:** `patch-8` --- ### 📝 Commits (1) - [`bef3f9f`](https://github.com/koel/koel/commit/bef3f9f72234d18b8931790a0fb4784bad3c2063) Add admin creds to unit unit testing ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `phpunit.xml` (+3 -0) </details> ### 📄 Description When I was runing unit tests I was receiving HTTP error exceptions because there was no admin creds configured. ``` php 1) ApplicationTest::testStaticUrlWithoutCDN Symfony\Component\HttpKernel\Exception\HttpException: C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Foundation\Application.php:882 C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Foundation\helpers.php:30 C:\wamp64\www\koel\database\seeds\UserTableSeeder.php:31 C:\wamp64\www\koel\database\seeds\UserTableSeeder.php:13 C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Database\Seeder.php:39 C:\wamp64\www\koel\database\seeds\DatabaseSeeder.php:16 C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Database\Console\Seeds\SeedCommand.php:63 C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php:2285 C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Database\Console\Seeds\SeedCommand.php:64 C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Container\Container.php:507 C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Console\Command.php:169 C:\wamp64\www\koel\vendor\symfony\console\Command\Command.php:256 C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Console\Command.php:155 C:\wamp64\www\koel\vendor\symfony\console\Application.php:791 C:\wamp64\www\koel\vendor\symfony\console\Application.php:186 C:\wamp64\www\koel\vendor\symfony\console\Application.php:117 C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Console\Application.php:64 C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php:159 C:\wamp64\www\koel\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:218 C:\wamp64\www\koel\tests\TestCase.php:56 C:\wamp64\www\koel\tests\TestCase.php:25 ERRORS! Tests: 1, Assertions: 0, Errors: 1. ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:30:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#1257
No description provided.