Update egg import/update logic to all use the same pathwaus
This commit is contained in:
parent
6554164252
commit
cca0010a00
12 changed files with 271 additions and 334 deletions
|
@ -3,7 +3,6 @@
|
|||
namespace Pterodactyl\Tests\Integration\Services\Servers;
|
||||
|
||||
use Exception;
|
||||
use Pterodactyl\Models\Egg;
|
||||
use Pterodactyl\Models\Nest;
|
||||
use Pterodactyl\Models\User;
|
||||
use Pterodactyl\Models\Server;
|
||||
|
@ -23,8 +22,7 @@ class StartupModificationServiceTest extends IntegrationTestCase
|
|||
*/
|
||||
public function testNonAdminCanModifyServerVariables()
|
||||
{
|
||||
// Theoretically lines up with the Bungeecord Minecraft egg.
|
||||
$server = $this->createServerModel(['egg_id' => 1]);
|
||||
$server = $this->createServerModel();
|
||||
|
||||
try {
|
||||
$this->app->make(StartupModificationService::class)->handle($server, [
|
||||
|
|
Reference in a new issue