From a5d9faf6b243a16f7bc7375a891abb87bbb53562 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Wed, 24 Jun 2020 20:47:52 -0700 Subject: [PATCH] Get database unit tests back into passing shape --- .gitignore | 1 + .phpunit.result.cache | 1 - .../Databases/DatabasePasswordServiceTest.php | 17 +++-- .../DeployServerDatabaseServiceTest.php | 74 +++---------------- 4 files changed, 20 insertions(+), 73 deletions(-) delete mode 100644 .phpunit.result.cache diff --git a/.gitignore b/.gitignore index 3352c6ad9..58250120e 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ coverage.xml resources/lang/locales.js resources/assets/pterodactyl/scripts/helpers/ziggy.js resources/assets/scripts/helpers/ziggy.js +.phpunit.result.cache diff --git a/.phpunit.result.cache b/.phpunit.result.cache deleted file mode 100644 index ef7eacd08..000000000 --- a/.phpunit.result.cache +++ /dev/null @@ -1 +0,0 @@ -C:37:"PHPUnit\Runner\DefaultTestResultCache":66049:{a:2:{s:7:"defects";a:153:{s:79:"Tests\Unit\Http\Controllers\Admin\StatisticsControllerTest::testIndexController";i:4;s:73:"Tests\Unit\Http\Controllers\Base\IndexControllerTest::testIndexController";i:4;s:74:"Tests\Unit\Http\Controllers\Base\IndexControllerTest::testStatusController";i:4;s:96:"Tests\Unit\Http\Controllers\Base\IndexControllerTest::testStatusControllerWhenServerNotInstalled";i:4;s:95:"Tests\Unit\Http\Controllers\Base\IndexControllerTest::testStatusControllerWhenServerIsSuspended";i:4;s:103:"Tests\Unit\Http\Controllers\Base\IndexControllerTest::testStatusControllerWithServerConnectionException";i:4;s:94:"Tests\Unit\Http\Controllers\Base\IndexControllerTest::testStatusControllerWithRequestException";i:4;s:87:"Tests\Unit\Http\Controllers\Base\SecurityControllerTest::testIndexWithout2FactorEnabled";i:4;s:84:"Tests\Unit\Http\Controllers\Base\SecurityControllerTest::testIndexWith2FactorEnabled";i:4;s:83:"Tests\Unit\Http\Controllers\Base\SecurityControllerTest::testStore with data set #0";i:4;s:83:"Tests\Unit\Http\Controllers\Base\SecurityControllerTest::testStore with data set #1";i:4;s:108:"Tests\Unit\Http\Controllers\Base\SecurityControllerTest::testStoreWithInvalidTokenException with data set #0";i:4;s:108:"Tests\Unit\Http\Controllers\Base\SecurityControllerTest::testStoreWithInvalidTokenException with data set #1";i:4;s:82:"Tests\Unit\Http\Middleware\API\Application\AuthenticateUserTest::testNoUserDefined";i:6;s:81:"Tests\Unit\Http\Middleware\API\Application\AuthenticateUserTest::testNonAdminUser";i:6;s:74:"Tests\Unit\Http\Middleware\API\AuthenticateIPAccessTest::testWithInvalidIP";i:6;s:73:"Tests\Unit\Http\Middleware\API\AuthenticateKeyTest::testInvalidIdentifier";i:6;s:81:"Tests\Unit\Http\Middleware\API\AuthenticateKeyTest::testInvalidTokenForIdentifier";i:6;s:105:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldContinueIfRouteIsExempted";i:4;s:103:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfNoTokenIsProvided";i:4;s:99:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfNoNodeIsFound";i:4;s:93:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testSuccessfulMiddlewareProcess";i:4;s:89:"Tests\Unit\Http\Middleware\AdminAuthenticateTest::testExceptionIsThrownIfUserDoesNotExist";i:6;s:89:"Tests\Unit\Http\Middleware\AdminAuthenticateTest::testExceptionIsThrownIfUserIsNotAnAdmin";i:6;s:62:"Tests\Unit\Http\Middleware\AuthenticateTest::testLoggedOutUser";i:6;s:76:"Tests\Unit\Http\Middleware\DaemonAuthenticateTest::testValidDaemonConnection";i:4;s:81:"Tests\Unit\Http\Middleware\DaemonAuthenticateTest::testIgnoredRouteShouldContinue";i:4;s:85:"Tests\Unit\Http\Middleware\DaemonAuthenticateTest::testExceptionThrownIfMissingHeader";i:3;s:100:"Tests\Unit\Http\Middleware\Server\AccessingValidServerTest::testExceptionIsThrownIfServerIsSuspended";i:6;s:103:"Tests\Unit\Http\Middleware\Server\AccessingValidServerTest::testExceptionIsThrownIfServerIsNotInstalled";i:6;s:98:"Tests\Unit\Http\Middleware\Server\AuthenticateAsSubuserTest::testExceptionIsThrownIfNoTokenIsFound";i:6;s:107:"Tests\Unit\Http\Middleware\Server\DatabaseBelongsToServerTest::testExceptionIsThrownIfNoDatabaseRecordFound";i:6;s:119:"Tests\Unit\Http\Middleware\Server\DatabaseBelongsToServerTest::testExceptionIsThrownIfDatabaseServerDoesNotMatchCurrent";i:6;s:115:"Tests\Unit\Http\Middleware\Server\ScheduleBelongsToServerTest::testExceptionIsThrownIfScheduleDoesNotBelongToServer";i:6;s:123:"Tests\Unit\Http\Middleware\Server\SubuserBelongsToServerTest::testExceptionIsThrownIfSubuserServerDoesNotMatchRequestServer";i:6;s:101:"Tests\Unit\Http\Middleware\Server\SubuserBelongsToServerTest::testExceptionIsThrownIfNoSubuserIsFound";i:6;s:100:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfNodeIsNotFound";i:5;s:56:"Tests\Unit\Jobs\Schedule\RunTaskJobTest::testPowerAction";i:4;s:58:"Tests\Unit\Jobs\Schedule\RunTaskJobTest::testCommandAction";i:4;s:67:"Tests\Unit\Jobs\Schedule\RunTaskJobTest::testNextTaskQueuedIfExists";i:4;s:69:"Tests\Unit\Jobs\Schedule\RunTaskJobTest::testInvalidActionPassedToJob";i:6;s:83:"Tests\Unit\Jobs\Schedule\RunTaskJobTest::testScheduleMarkedAsDisabledDoesNotProcess";i:4;s:100:"Tests\Unit\Services\Allocations\AllocationDeletionServiceTest::testExceptionThrownIfAssignedToServer";i:6;s:96:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testCIDRNotatedIPAddressOutsideRangeLimit";i:6;s:92:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testAllocationWithPortsExceedingLimit";i:6;s:78:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testInvalidPortProvided";i:6;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #0";i:6;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #1";i:6;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #2";i:6;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #3";i:6;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #4";i:6;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #5";i:6;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #6";i:6;s:105:"Tests\Unit\Services\Allocations\SetDefaultAllocationServiceTest::testAllocationIsUpdated with data set #0";i:4;s:105:"Tests\Unit\Services\Allocations\SetDefaultAllocationServiceTest::testAllocationIsUpdated with data set #1";i:4;s:114:"Tests\Unit\Services\Allocations\SetDefaultAllocationServiceTest::testAllocationNotBelongingToServerThrowsException";i:3;s:101:"Tests\Unit\Services\Allocations\SetDefaultAllocationServiceTest::testExceptionThrownByGuzzleIsHandled";i:4;s:105:"Tests\Unit\Services\DaemonKeys\DaemonKeyProviderServiceTest::testExceptionIsThrownIfUserDoesNotDeserveKey";i:6;s:95:"Tests\Unit\Services\DaemonKeys\RevokeMultipleDaemonKeysServiceTest::testSuccessfulKeyRevocation";i:4;s:110:"Tests\Unit\Services\DaemonKeys\RevokeMultipleDaemonKeysServiceTest::testExceptionThrownFromDaemonCallIsHandled";i:3;s:107:"Tests\Unit\Services\DaemonKeys\RevokeMultipleDaemonKeysServiceTest::testIgnoredExceptionsAreHandledProperly";i:4;s:80:"Tests\Unit\Services\Databases\DatabasePasswordServiceTest::testPasswordIsChanged";i:4;s:102:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testNonRandomFoundHost with data set #0";i:4;s:102:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testNonRandomFoundHost with data set #1";i:4;s:82:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testNonRandomNoHost";i:6;s:82:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testRandomFoundHost";i:4;s:79:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testRandomNoHost";i:6;s:107:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testServerOverDatabaseLimit with data set #0";i:3;s:107:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testServerOverDatabaseLimit with data set #1";i:3;s:84:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testFeatureNotEnabled";i:3;s:80:"Tests\Unit\Services\Eggs\EggConfigurationServiceTest::testCorrectArrayIsReturned";i:4;s:100:"Tests\Unit\Services\Eggs\EggConfigurationServiceTest::testFunctionHandlesIntegerPassedInPlaceOfModel";i:4;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #0";i:6;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #1";i:6;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #2";i:6;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #3";i:6;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #4";i:6;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #5";i:6;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #6";i:6;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #7";i:6;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #8";i:6;s:107:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testInvalidValidationRulesResultInException";i:6;s:106:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionNotCausedByBadRuleIsNotCaught";i:6;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #0";i:6;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #1";i:6;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #2";i:6;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #3";i:6;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #4";i:6;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #5";i:6;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #6";i:6;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #7";i:6;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #8";i:6;s:105:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testInvalidValidationRulesResultInException";i:6;s:104:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionNotCausedByBadRuleIsNotCaught";i:6;s:82:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testPanelVersionIsReturned";i:4;s:103:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testPanelVersionIsReturnedAsErrorIfNoKeyIsFound";i:4;s:83:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testDaemonVersionIsReturned";i:4;s:104:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testDaemonVersionIsReturnedAsErrorIfNoKeyIsFound";i:4;s:80:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testDiscordUrlIsReturned";i:4;s:130:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testCorrectBooleanValueIsReturnedWhenCheckingPanelVersion with data set #0";i:4;s:130:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testCorrectBooleanValueIsReturnedWhenCheckingPanelVersion with data set #1";i:4;s:130:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testCorrectBooleanValueIsReturnedWhenCheckingPanelVersion with data set #2";i:4;s:131:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testCorrectBooleanValueIsReturnedWhenCheckingDaemonVersion with data set #0";i:4;s:131:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testCorrectBooleanValueIsReturnedWhenCheckingDaemonVersion with data set #1";i:4;s:131:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testCorrectBooleanValueIsReturnedWhenCheckingDaemonVersion with data set #2";i:4;s:94:"Tests\Unit\Services\Nodes\NodeCreationServiceTest::testNodeIsCreatedAndDaemonSecretIsGenerated";i:4;s:98:"Tests\Unit\Services\Nodes\NodeDeletionServiceTest::testExceptionIsThrownIfServersAreAttachedToNode";i:6;s:88:"Tests\Unit\Services\Nodes\NodeUpdateServiceTest::testNodeIsUpdatedAndDaemonSecretIsReset";i:4;s:93:"Tests\Unit\Services\Nodes\NodeUpdateServiceTest::testNodeIsUpdatedAndDaemonSecretIsNotChanged";i:4;s:81:"Tests\Unit\Services\Nodes\NodeUpdateServiceTest::testExceptionRelatedToConnection";i:3;s:84:"Tests\Unit\Services\Nodes\NodeUpdateServiceTest::testExceptionNotRelatedToConnection";i:3;s:97:"Tests\Unit\Services\Packs\ExportPackServiceTest::testExceptionIsThrownIfZipArchiveCannotBeCreated";i:6;s:102:"Tests\Unit\Services\Servers\ReinstallServerServiceTest::testServerShouldBeReinstalledWhenModelIsPassed";i:4;s:105:"Tests\Unit\Services\Servers\ReinstallServerServiceTest::testServerShouldBeReinstalledWhenServerIdIsPassed";i:4;s:114:"Tests\Unit\Services\Servers\ReinstallServerServiceTest::testExceptionThrownByGuzzleShouldBeReRenderedAsDisplayable";i:4;s:121:"Tests\Unit\Services\Servers\ReinstallServerServiceTest::testExceptionNotThrownByGuzzleShouldNotBeTransformedToDisplayable";i:4;s:99:"Tests\Unit\Services\Servers\ServerConfigurationStructureServiceTest::testCorrectStructureIsReturned";i:3;s:116:"Tests\Unit\Services\Servers\ServerCreationServiceTest::testCreateShouldHitAllOfTheNecessaryServicesAndStoreTheServer";i:4;s:75:"Tests\Unit\Services\Servers\ServerCreationServiceTest::testDataIsAutoFilled";i:4;s:79:"Tests\Unit\Services\Servers\ServerCreationServiceTest::testAutoDeploymentObject";i:4;s:99:"Tests\Unit\Services\Servers\ServerCreationServiceTest::testExceptionShouldBeThrownIfTheRequestFails";i:3;s:81:"Tests\Unit\Services\Servers\ServerDeletionServiceTest::testForceParameterCanBeSet";i:4;s:89:"Tests\Unit\Services\Servers\ServerDeletionServiceTest::testServerCanBeDeletedWithoutForce";i:4;s:113:"Tests\Unit\Services\Servers\ServerDeletionServiceTest::testServerShouldBeDeletedEvenWhenFailureOccursIfForceIsSet";i:4;s:120:"Tests\Unit\Services\Servers\ServerDeletionServiceTest::testExceptionShouldBeThrownIfDaemonReturnsAnErrorAndForceIsNotSet";i:3;s:91:"Tests\Unit\Services\Servers\StartupModificationServiceTest::testStartupModifiedAsNormalUser";i:4;s:94:"Tests\Unit\Services\Servers\StartupModificationServiceTest::testStartupModificationAsAdminUser";i:4;s:105:"Tests\Unit\Services\Servers\SuspensionServiceTest::testFunctionShouldAcceptAnIntegerInPlaceOfAServerModel";i:4;s:98:"Tests\Unit\Services\Servers\SuspensionServiceTest::testServerShouldBeSuspendedWhenNoActionIsPassed";i:4;s:107:"Tests\Unit\Services\Servers\SuspensionServiceTest::testServerShouldBeUnsuspendedWhenUnsuspendActionIsPassed";i:4;s:123:"Tests\Unit\Services\Servers\SuspensionServiceTest::testNoActionShouldHappenIfServerIsAlreadyUnsuspendedAndActionIsUnsuspend";i:4;s:119:"Tests\Unit\Services\Servers\SuspensionServiceTest::testNoActionShouldHappenIfServerIsAlreadySuspendedAndActionIsSuspend";i:4;s:119:"Tests\Unit\Services\Servers\SuspensionServiceTest::testExceptionThrownByGuzzleShouldBeCaughtAndTransformedToDisplayable";i:4;s:96:"Tests\Unit\Services\Servers\SuspensionServiceTest::testExceptionShouldBeThrownIfActionIsNotValid";i:4;s:95:"Tests\Unit\Services\Subusers\PermissionCreationServiceTest::testPermissionsAreAssignedCorrectly";i:4;s:87:"Tests\Unit\Services\Subusers\SubuserCreationServiceTest::testAccountIsCreatedForNewUser";i:4;s:93:"Tests\Unit\Services\Subusers\SubuserCreationServiceTest::testExistingUserCanBeAddedAsASubuser";i:4;s:97:"Tests\Unit\Services\Subusers\SubuserCreationServiceTest::testExceptionIsThrownIfUserIsServerOwner";i:4;s:101:"Tests\Unit\Services\Subusers\SubuserCreationServiceTest::testExceptionIsThrownIfUserIsAlreadyASubuser";i:4;s:80:"Tests\Unit\Services\Subusers\SubuserUpdateServiceTest::testPermissionsAreUpdated";i:4;s:99:"Tests\Unit\Services\Subusers\SubuserUpdateServiceTest::testExceptionIsThrownIfDaemonConnectionFails";i:4;s:83:"Tests\Unit\Services\Users\ToggleTwoFactorServiceTest::testTwoFactorIsEnabledForUser";i:4;s:77:"Tests\Unit\Services\Users\ToggleTwoFactorServiceTest::testTwoFactorIsDisabled";i:4;s:89:"Tests\Unit\Services\Users\ToggleTwoFactorServiceTest::testTwoFactorRemainsDisabledForUser";i:4;s:91:"Tests\Unit\Services\Users\ToggleTwoFactorServiceTest::testExceptionIsThrownIfTokenIsInvalid";i:3;s:101:"Tests\Unit\Services\Users\UserDeletionServiceTest::testExceptionIsThrownIfServersAreAttachedToAccount";i:6;s:119:"Tests\Unit\Services\Users\UserUpdateServiceTest::testUpdateUserWithoutTouchingHasherIfNoPasswordPassed with data set #0";i:4;s:119:"Tests\Unit\Services\Users\UserUpdateServiceTest::testUpdateUserWithoutTouchingHasherIfNoPasswordPassed with data set #1";i:4;s:119:"Tests\Unit\Services\Users\UserUpdateServiceTest::testUpdateUserWithoutTouchingHasherIfNoPasswordPassed with data set #2";i:4;s:119:"Tests\Unit\Services\Users\UserUpdateServiceTest::testUpdateUserWithoutTouchingHasherIfNoPasswordPassed with data set #3";i:4;s:88:"Tests\Unit\Services\Users\UserUpdateServiceTest::testUpdateUserAndHashPasswordIfProvided";i:4;s:90:"Tests\Unit\Services\Users\UserUpdateServiceTest::testAdministrativeUserRevokingAdminStatus";i:4;s:89:"Tests\Unit\Services\Users\UserUpdateServiceTest::testNormalUserShouldNotRevokeAdminStatus";i:4;}s:5:"times";a:438:{s:81:"Tests\Unit\Commands\Environment\EmailSettingsCommandTest::testSmtpDriverSelection";d:0.19;s:98:"Tests\Unit\Commands\Environment\EmailSettingsCommandTest::testSmtpDriverSelectionWithOptionsPassed";d:0.037;s:84:"Tests\Unit\Commands\Environment\EmailSettingsCommandTest::testPHPMailDriverSelection";d:0.051;s:84:"Tests\Unit\Commands\Environment\EmailSettingsCommandTest::testMailgunDriverSelection";d:0.049;s:101:"Tests\Unit\Commands\Environment\EmailSettingsCommandTest::testMailgunDriverSelectionWithOptionsPassed";d:0.033;s:85:"Tests\Unit\Commands\Environment\EmailSettingsCommandTest::testMandrillDriverSelection";d:0.049;s:102:"Tests\Unit\Commands\Environment\EmailSettingsCommandTest::testMandrillDriverSelectionWithOptionsPassed";d:0.034;s:85:"Tests\Unit\Commands\Environment\EmailSettingsCommandTest::testPostmarkDriverSelection";d:0.06;s:102:"Tests\Unit\Commands\Environment\EmailSettingsCommandTest::testPostmarkDriverSelectionWithOptionsPassed";d:0.033;s:77:"Tests\Unit\Commands\Location\DeleteLocationCommandTest::testLocationIsDeleted";d:0.053;s:93:"Tests\Unit\Commands\Location\DeleteLocationCommandTest::testLocationIsDeletedIfPassedInOption";d:0.035;s:106:"Tests\Unit\Commands\Location\DeleteLocationCommandTest::testInteractiveEnvironmentAllowsReAttemptingSearch";d:0.06;s:115:"Tests\Unit\Commands\Location\DeleteLocationCommandTest::testNonInteractiveEnvironmentThrowsErrorIfNoLocationIsFound";d:0.036;s:94:"Tests\Unit\Commands\Location\MakeLocationCommandTest::testLocationIsCreatedWithNoOptionsPassed";d:0.038;s:95:"Tests\Unit\Commands\Location\MakeLocationCommandTest::testLocationIsCreatedWhenOptionsArePassed";d:0.037;s:109:"Tests\Unit\Commands\Maintenance\CleanServiceBackupFilesCommandTest::testCommandCleansFilesMoreThan5MinutesOld";d:0.044;s:114:"Tests\Unit\Commands\Maintenance\CleanServiceBackupFilesCommandTest::testCommandDoesNotCleanFileLessThan5MinutesOld";d:0.043;s:77:"Tests\Unit\Commands\Schedule\ProcessRunnableCommandTest::testScheduleIsQueued";d:0.066;s:94:"Tests\Unit\Commands\Schedule\ProcessRunnableCommandTest::testScheduleWithNoTasksIsNotProcessed";d:0.046;s:127:"Tests\Unit\Commands\Schedule\ProcessRunnableCommandTest::testScheduleWithTasksObjectThatIsNotInstanceOfCollectionIsNotProcessed";d:0.042;s:69:"Tests\Unit\Commands\Server\BulkPowerActionCommandTest::testSendAction";d:0.148;s:74:"Tests\Unit\Commands\Server\BulkPowerActionCommandTest::testSendWithFilters";d:0.048;s:79:"Tests\Unit\Commands\Server\BulkPowerActionCommandTest::testSendWithEmptyOptions";d:0.041;s:92:"Tests\Unit\Commands\Server\BulkPowerActionCommandTest::testValidationErrors with data set #0";d:0.039;s:92:"Tests\Unit\Commands\Server\BulkPowerActionCommandTest::testValidationErrors with data set #1";d:0.036;s:92:"Tests\Unit\Commands\Server\BulkPowerActionCommandTest::testValidationErrors with data set #2";d:0.042;s:92:"Tests\Unit\Commands\Server\BulkPowerActionCommandTest::testValidationErrors with data set #3";d:0.035;s:92:"Tests\Unit\Commands\Server\BulkPowerActionCommandTest::testValidationErrors with data set #4";d:0.037;s:72:"Tests\Unit\Commands\User\DeleteUserCommandTest::testCommandWithNoOptions";d:0.061;s:83:"Tests\Unit\Commands\User\DeleteUserCommandTest::testCommandWithInvalidInitialSearch";d:0.038;s:67:"Tests\Unit\Commands\User\DeleteUserCommandTest::testReSearchAbility";d:0.04;s:102:"Tests\Unit\Commands\User\DeleteUserCommandTest::testAnsweringNoToDeletionConfirmationWillNotDeleteUser";d:0.039;s:81:"Tests\Unit\Commands\User\DeleteUserCommandTest::testNoInteractionWithSingleResult";d:0.038;s:84:"Tests\Unit\Commands\User\DeleteUserCommandTest::testNoInteractionWithMultipleResults";d:0.04;s:78:"Tests\Unit\Commands\User\DeleteUserCommandTest::testNoInteractionWithNoResults";d:0.035;s:97:"Tests\Unit\Commands\User\DisableTwoFactorCommandTest::testTwoFactorIsDisabledWhenNoOptionIsPassed";d:0.04;s:95:"Tests\Unit\Commands\User\DisableTwoFactorCommandTest::testTwoFactorIsDisabledWhenOptionIsPassed";d:0.039;s:76:"Tests\Unit\Commands\User\MakeUserCommandTest::testCommandWithNoPassedOptions";d:0.055;s:77:"Tests\Unit\Commands\User\MakeUserCommandTest::testCommandWithNoPasswordOption";d:0.04;s:74:"Tests\Unit\Commands\User\MakeUserCommandTest::testCommandWithOptionsPassed";d:0.039;s:59:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #0";d:0.043;s:59:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #1";d:0.035;s:59:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #2";d:0.035;s:59:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #3";d:0.034;s:59:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #4";d:0.034;s:59:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #5";d:0.035;s:59:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #6";d:0.036;s:59:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #7";d:0.036;s:59:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #8";d:0.035;s:59:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #9";d:0.036;s:60:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #10";d:0.038;s:60:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #11";d:0.035;s:60:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #12";d:0.034;s:60:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #13";d:0.036;s:60:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #14";d:0.036;s:60:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #15";d:0.035;s:60:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #16";d:0.036;s:60:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #17";d:0.034;s:60:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #18";d:0.035;s:60:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #19";d:0.046;s:60:"Tests\Unit\Helpers\IsDigitTest::testHelper with data set #20";d:0.037;s:77:"Tests\Unit\Http\Controllers\Admin\DatabaseControllerTest::testIndexController";d:0.133;s:76:"Tests\Unit\Http\Controllers\Admin\DatabaseControllerTest::testViewController";d:0.034;s:57:"Tests\Unit\Http\Controllers\MailControllerTest::testIndex";d:0.041;s:79:"Tests\Unit\Http\Controllers\Admin\StatisticsControllerTest::testIndexController";d:0.145;s:73:"Tests\Unit\Http\Controllers\Base\IndexControllerTest::testIndexController";d:0.054;s:74:"Tests\Unit\Http\Controllers\Base\IndexControllerTest::testStatusController";d:0.039;s:96:"Tests\Unit\Http\Controllers\Base\IndexControllerTest::testStatusControllerWhenServerNotInstalled";d:0.04;s:95:"Tests\Unit\Http\Controllers\Base\IndexControllerTest::testStatusControllerWhenServerIsSuspended";d:0.037;s:103:"Tests\Unit\Http\Controllers\Base\IndexControllerTest::testStatusControllerWithServerConnectionException";d:0.038;s:94:"Tests\Unit\Http\Controllers\Base\IndexControllerTest::testStatusControllerWithRequestException";d:0.04;s:87:"Tests\Unit\Http\Controllers\Base\SecurityControllerTest::testIndexWithout2FactorEnabled";d:0.068;s:84:"Tests\Unit\Http\Controllers\Base\SecurityControllerTest::testIndexWith2FactorEnabled";d:0.042;s:83:"Tests\Unit\Http\Controllers\Base\SecurityControllerTest::testStore with data set #0";d:0.044;s:83:"Tests\Unit\Http\Controllers\Base\SecurityControllerTest::testStore with data set #1";d:0.041;s:108:"Tests\Unit\Http\Controllers\Base\SecurityControllerTest::testStoreWithInvalidTokenException with data set #0";d:0.049;s:108:"Tests\Unit\Http\Controllers\Base\SecurityControllerTest::testStoreWithInvalidTokenException with data set #1";d:0.043;s:82:"Tests\Unit\Http\Middleware\API\Application\AuthenticateUserTest::testNoUserDefined";d:0.044;s:81:"Tests\Unit\Http\Middleware\API\Application\AuthenticateUserTest::testNonAdminUser";d:0.047;s:78:"Tests\Unit\Http\Middleware\API\Application\AuthenticateUserTest::testAdminUser";d:0.041;s:81:"Tests\Unit\Http\Middleware\API\AuthenticateIPAccessTest::testWithNoIPRestrictions";d:0.043;s:72:"Tests\Unit\Http\Middleware\API\AuthenticateIPAccessTest::testWithValidIP";d:0.044;s:84:"Tests\Unit\Http\Middleware\API\AuthenticateIPAccessTest::testValidIPAgainstCIDRRange";d:0.043;s:74:"Tests\Unit\Http\Middleware\API\AuthenticateIPAccessTest::testWithInvalidIP";d:0.04;s:89:"Tests\Unit\Http\Middleware\API\AuthenticateKeyTest::testMissingBearerTokenThrowsException";d:0.049;s:73:"Tests\Unit\Http\Middleware\API\AuthenticateKeyTest::testInvalidIdentifier";d:0.042;s:66:"Tests\Unit\Http\Middleware\API\AuthenticateKeyTest::testValidToken";d:0.045;s:77:"Tests\Unit\Http\Middleware\API\AuthenticateKeyTest::testValidTokenWithUserKey";d:0.044;s:74:"Tests\Unit\Http\Middleware\API\AuthenticateKeyTest::testAccessWithoutToken";d:0.042;s:81:"Tests\Unit\Http\Middleware\API\AuthenticateKeyTest::testInvalidTokenForIdentifier";d:0.041;s:105:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldContinueIfRouteIsExempted";d:0.045;s:103:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfNoTokenIsProvided";d:0.035;s:99:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfNoNodeIsFound";d:0.035;s:93:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testSuccessfulMiddlewareProcess";d:0.037;s:67:"Tests\Unit\Http\Middleware\API\SetSessionDriverTest::testMiddleware";d:0.039;s:76:"Tests\Unit\Http\Middleware\AdminAuthenticateTest::testAdminsAreAuthenticated";d:0.035;s:89:"Tests\Unit\Http\Middleware\AdminAuthenticateTest::testExceptionIsThrownIfUserDoesNotExist";d:0.04;s:89:"Tests\Unit\Http\Middleware\AdminAuthenticateTest::testExceptionIsThrownIfUserIsNotAnAdmin";d:0.035;s:61:"Tests\Unit\Http\Middleware\AuthenticateTest::testLoggedInUser";d:0.039;s:62:"Tests\Unit\Http\Middleware\AuthenticateTest::testLoggedOutUser";d:0.039;s:76:"Tests\Unit\Http\Middleware\DaemonAuthenticateTest::testValidDaemonConnection";d:0.04;s:81:"Tests\Unit\Http\Middleware\DaemonAuthenticateTest::testIgnoredRouteShouldContinue";d:0.037;s:85:"Tests\Unit\Http\Middleware\DaemonAuthenticateTest::testExceptionThrownIfMissingHeader";d:0.038;s:76:"Tests\Unit\Http\Middleware\LanguageMiddlewareTest::testLanguageIsSetForGuest";d:0.043;s:89:"Tests\Unit\Http\Middleware\LanguageMiddlewareTest::testLanguageIsSetWithAuthenticatedUser";d:0.042;s:64:"Tests\Unit\Http\Middleware\MaintenanceMiddlewareTest::testHandle";d:0.047;s:81:"Tests\Unit\Http\Middleware\MaintenanceMiddlewareTest::testHandleInMaintenanceMode";d:0.05;s:89:"Tests\Unit\Http\Middleware\RedirectIfAuthenticatedTest::testAuthenticatedUserIsRedirected";d:0.05;s:95:"Tests\Unit\Http\Middleware\RedirectIfAuthenticatedTest::testNonAuthenticatedUserIsNotRedirected";d:0.037;s:85:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testRequestMissingUser";d:0.043;s:105:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testRequestOnIgnoredRoute with data set #0";d:0.042;s:105:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testRequestOnIgnoredRoute with data set #1";d:0.041;s:105:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testRequestOnIgnoredRoute with data set #2";d:0.041;s:105:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testRequestOnIgnoredRoute with data set #3";d:0.041;s:105:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testRequestOnIgnoredRoute with data set #4";d:0.042;s:105:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testRequestOnIgnoredRoute with data set #5";d:0.042;s:105:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testRequestOnIgnoredRoute with data set #6";d:0.041;s:105:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testRequestOnIgnoredRoute with data set #7";d:0.042;s:95:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testTwoFactorRequirementDisabled";d:0.042;s:103:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testTwoFactorRequirementWithInvalidValue";d:0.042;s:118:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testTwoFactorEnabledForAdminsAsAdminUserWith2FADisabled";d:0.045;s:117:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testTwoFactorEnabledForAdminsAsAdminUserWith2FAEnabled";d:0.041;s:102:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testTwoFactorEnabledForAdminsAsNonAdmin";d:0.04;s:115:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testTwoFactorEnabledForAllUsersAsUserWith2FADisabled";d:0.042;s:114:"Tests\Unit\Http\Middleware\RequireTwoFactorAuthenticationTest::testTwoFactorEnabledForAllUsersAsUserWith2FAEnabled";d:0.041;s:100:"Tests\Unit\Http\Middleware\Server\AccessingValidServerTest::testExceptionIsThrownIfServerIsSuspended";d:0.052;s:103:"Tests\Unit\Http\Middleware\Server\AccessingValidServerTest::testExceptionIsThrownIfServerIsNotInstalled";d:0.043;s:109:"Tests\Unit\Http\Middleware\Server\AccessingValidServerTest::testCorrectErrorPagesAreRendered with data set #0";d:0.038;s:109:"Tests\Unit\Http\Middleware\Server\AccessingValidServerTest::testCorrectErrorPagesAreRendered with data set #1";d:0.037;s:109:"Tests\Unit\Http\Middleware\Server\AccessingValidServerTest::testCorrectErrorPagesAreRendered with data set #2";d:0.037;s:82:"Tests\Unit\Http\Middleware\Server\AccessingValidServerTest::testValidServerProcess";d:0.041;s:85:"Tests\Unit\Http\Middleware\Server\AuthenticateAsSubuserTest::testSuccessfulMiddleware";d:0.053;s:98:"Tests\Unit\Http\Middleware\Server\AuthenticateAsSubuserTest::testExceptionIsThrownIfNoTokenIsFound";d:0.042;s:87:"Tests\Unit\Http\Middleware\Server\DatabaseBelongsToServerTest::testSuccessfulMiddleware";d:0.045;s:107:"Tests\Unit\Http\Middleware\Server\DatabaseBelongsToServerTest::testExceptionIsThrownIfNoDatabaseRecordFound";d:0.043;s:119:"Tests\Unit\Http\Middleware\Server\DatabaseBelongsToServerTest::testExceptionIsThrownIfDatabaseServerDoesNotMatchCurrent";d:0.042;s:87:"Tests\Unit\Http\Middleware\Server\ScheduleBelongsToServerTest::testSuccessfulMiddleware";d:0.051;s:115:"Tests\Unit\Http\Middleware\Server\ScheduleBelongsToServerTest::testExceptionIsThrownIfScheduleDoesNotBelongToServer";d:0.042;s:86:"Tests\Unit\Http\Middleware\Server\SubuserBelongsToServerTest::testSuccessfulMiddleware";d:0.044;s:102:"Tests\Unit\Http\Middleware\Server\SubuserBelongsToServerTest::testSuccessfulMiddlewareWhenPatchRequest";d:0.041;s:104:"Tests\Unit\Http\Middleware\Server\SubuserBelongsToServerTest::testExceptionIsThrownIfUserTriesToEditSelf";d:0.044;s:123:"Tests\Unit\Http\Middleware\Server\SubuserBelongsToServerTest::testExceptionIsThrownIfSubuserServerDoesNotMatchRequestServer";d:0.041;s:101:"Tests\Unit\Http\Middleware\Server\SubuserBelongsToServerTest::testExceptionIsThrownIfNoSubuserIsFound";d:0.041;s:82:"Tests\Unit\Http\Middleware\Api\Application\AuthenticateUserTest::testNoUserDefined";d:0.034;s:81:"Tests\Unit\Http\Middleware\Api\Application\AuthenticateUserTest::testNonAdminUser";d:0.037;s:78:"Tests\Unit\Http\Middleware\Api\Application\AuthenticateUserTest::testAdminUser";d:0.036;s:81:"Tests\Unit\Http\Middleware\Api\AuthenticateIPAccessTest::testWithNoIPRestrictions";d:0.038;s:72:"Tests\Unit\Http\Middleware\Api\AuthenticateIPAccessTest::testWithValidIP";d:0.044;s:84:"Tests\Unit\Http\Middleware\Api\AuthenticateIPAccessTest::testValidIPAgainstCIDRRange";d:0.042;s:74:"Tests\Unit\Http\Middleware\Api\AuthenticateIPAccessTest::testWithInvalidIP";d:0.037;s:89:"Tests\Unit\Http\Middleware\Api\AuthenticateKeyTest::testMissingBearerTokenThrowsException";d:0.046;s:73:"Tests\Unit\Http\Middleware\Api\AuthenticateKeyTest::testInvalidIdentifier";d:0.041;s:66:"Tests\Unit\Http\Middleware\Api\AuthenticateKeyTest::testValidToken";d:0.043;s:77:"Tests\Unit\Http\Middleware\Api\AuthenticateKeyTest::testValidTokenWithUserKey";d:0.038;s:74:"Tests\Unit\Http\Middleware\Api\AuthenticateKeyTest::testAccessWithoutToken";d:0.038;s:81:"Tests\Unit\Http\Middleware\Api\AuthenticateKeyTest::testInvalidTokenForIdentifier";d:0.036;s:67:"Tests\Unit\Http\Middleware\Api\SetSessionDriverTest::testMiddleware";d:0.04;s:108:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfTokenFormatIsIncorrect";d:0.034;s:101:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfTokenIsNotValid";d:0.129;s:100:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfNodeIsNotFound";d:0.035;s:125:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfTokenFormatIsIncorrect with data set #0";d:0.035;s:125:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfTokenFormatIsIncorrect with data set #1";d:0.034;s:125:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfTokenFormatIsIncorrect with data set #2";d:0.034;s:125:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfTokenFormatIsIncorrect with data set #3";d:0.036;s:125:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfTokenFormatIsIncorrect with data set #4";d:0.037;s:125:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfTokenFormatIsIncorrect with data set #5";d:0.038;s:125:"Tests\Unit\Http\Middleware\Api\Daemon\DaemonAuthenticateTest::testResponseShouldFailIfTokenFormatIsIncorrect with data set #6";d:0.034;s:56:"Tests\Unit\Jobs\Schedule\RunTaskJobTest::testPowerAction";d:0.072;s:58:"Tests\Unit\Jobs\Schedule\RunTaskJobTest::testCommandAction";d:0.042;s:67:"Tests\Unit\Jobs\Schedule\RunTaskJobTest::testNextTaskQueuedIfExists";d:0.038;s:69:"Tests\Unit\Jobs\Schedule\RunTaskJobTest::testInvalidActionPassedToJob";d:0.043;s:83:"Tests\Unit\Jobs\Schedule\RunTaskJobTest::testScheduleMarkedAsDisabledDoesNotProcess";d:0.037;s:51:"Tests\Unit\Rules\UsernameTest::testRuleIsStringable";d:0.534;s:66:"Tests\Unit\Rules\UsernameTest::testValidUsernames with data set #0";d:0.034;s:66:"Tests\Unit\Rules\UsernameTest::testValidUsernames with data set #1";d:0.032;s:66:"Tests\Unit\Rules\UsernameTest::testValidUsernames with data set #2";d:0.032;s:66:"Tests\Unit\Rules\UsernameTest::testValidUsernames with data set #3";d:0.032;s:66:"Tests\Unit\Rules\UsernameTest::testValidUsernames with data set #4";d:0.032;s:66:"Tests\Unit\Rules\UsernameTest::testValidUsernames with data set #5";d:0.033;s:66:"Tests\Unit\Rules\UsernameTest::testValidUsernames with data set #6";d:0.033;s:68:"Tests\Unit\Rules\UsernameTest::testInvalidUsernames with data set #0";d:0.032;s:68:"Tests\Unit\Rules\UsernameTest::testInvalidUsernames with data set #1";d:0.032;s:68:"Tests\Unit\Rules\UsernameTest::testInvalidUsernames with data set #2";d:0.033;s:68:"Tests\Unit\Rules\UsernameTest::testInvalidUsernames with data set #3";d:0.032;s:68:"Tests\Unit\Rules\UsernameTest::testInvalidUsernames with data set #4";d:0.034;s:68:"Tests\Unit\Rules\UsernameTest::testInvalidUsernames with data set #5";d:0.032;s:68:"Tests\Unit\Rules\UsernameTest::testInvalidUsernames with data set #6";d:0.032;s:68:"Tests\Unit\Rules\UsernameTest::testInvalidUsernames with data set #7";d:0.032;s:68:"Tests\Unit\Rules\UsernameTest::testInvalidUsernames with data set #8";d:0.032;s:68:"Tests\Unit\Rules\UsernameTest::testInvalidUsernames with data set #9";d:0.033;s:69:"Tests\Unit\Rules\UsernameTest::testInvalidUsernames with data set #10";d:0.035;s:69:"Tests\Unit\Rules\UsernameTest::testInvalidUsernames with data set #11";d:0.032;s:74:"Tests\Unit\Services\Acl\Api\AdminAclTest::testPermissions with data set #0";d:0.577;s:74:"Tests\Unit\Services\Acl\Api\AdminAclTest::testPermissions with data set #1";d:0.037;s:74:"Tests\Unit\Services\Acl\Api\AdminAclTest::testPermissions with data set #2";d:0.036;s:74:"Tests\Unit\Services\Acl\Api\AdminAclTest::testPermissions with data set #3";d:0.037;s:74:"Tests\Unit\Services\Acl\Api\AdminAclTest::testPermissions with data set #4";d:0.036;s:74:"Tests\Unit\Services\Acl\Api\AdminAclTest::testPermissions with data set #5";d:0.036;s:74:"Tests\Unit\Services\Acl\Api\AdminAclTest::testPermissions with data set #6";d:0.036;s:51:"Tests\Unit\Services\Acl\Api\AdminAclTest::testCheck";d:0.089;s:86:"Tests\Unit\Services\Allocations\AllocationDeletionServiceTest::testAllocationIsDeleted";d:0.722;s:100:"Tests\Unit\Services\Allocations\AllocationDeletionServiceTest::testExceptionThrownIfAssignedToServer";d:0.053;s:90:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testIndividualIpAddressWithoutRange";d:0.134;s:87:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testIndividualIpAddressWithRange";d:0.045;s:87:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testIndividualIPAddressWithAlias";d:0.044;s:93:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testDomainNamePassedInPlaceOfIPAddress";d:0.045;s:91:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testCIDRNotatedIPAddressWithoutRange";d:0.052;s:96:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testCIDRNotatedIPAddressOutsideRangeLimit";d:0.042;s:92:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testAllocationWithPortsExceedingLimit";d:0.042;s:78:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testInvalidPortProvided";d:0.042;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #0";d:0.04;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #1";d:0.039;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #2";d:0.038;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #3";d:0.038;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #4";d:0.039;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #5";d:0.038;s:105:"Tests\Unit\Services\Allocations\AssignmentServiceTest::testPortRangeOutsideOfRangeLimits with data set #6";d:0.041;s:105:"Tests\Unit\Services\Allocations\SetDefaultAllocationServiceTest::testAllocationIsUpdated with data set #0";d:0.055;s:105:"Tests\Unit\Services\Allocations\SetDefaultAllocationServiceTest::testAllocationIsUpdated with data set #1";d:0.038;s:114:"Tests\Unit\Services\Allocations\SetDefaultAllocationServiceTest::testAllocationNotBelongingToServerThrowsException";d:0.067;s:101:"Tests\Unit\Services\Allocations\SetDefaultAllocationServiceTest::testExceptionThrownByGuzzleIsHandled";d:0.047;s:64:"Tests\Unit\Services\Api\KeyCreationServiceTest::testKeyIsCreated";d:0.639;s:90:"Tests\Unit\Services\Api\KeyCreationServiceTest::testIdentifierAndTokenAreOnlySetByFunction";d:0.037;s:93:"Tests\Unit\Services\Api\KeyCreationServiceTest::testPermissionsAreRetrievedForApplicationKeys";d:0.038;s:116:"Tests\Unit\Services\Api\KeyCreationServiceTest::testPermissionsAreNotRetrievedForNonApplicationKeys with data set #0";d:0.039;s:116:"Tests\Unit\Services\Api\KeyCreationServiceTest::testPermissionsAreNotRetrievedForNonApplicationKeys with data set #1";d:0.039;s:116:"Tests\Unit\Services\Api\KeyCreationServiceTest::testPermissionsAreNotRetrievedForNonApplicationKeys with data set #2";d:0.038;s:116:"Tests\Unit\Services\Api\KeyCreationServiceTest::testPermissionsAreNotRetrievedForNonApplicationKeys with data set #3";d:0.038;s:83:"Tests\Unit\Services\DaemonKeys\DaemonKeyCreationServiceTest::testDaemonKeyIsCreated";d:0.701;s:78:"Tests\Unit\Services\DaemonKeys\DaemonKeyProviderServiceTest::testKeyIsReturned";d:0.106;s:84:"Tests\Unit\Services\DaemonKeys\DaemonKeyProviderServiceTest::testExpiredKeyIsUpdated";d:0.045;s:87:"Tests\Unit\Services\DaemonKeys\DaemonKeyProviderServiceTest::testExpiredKeyIsNotUpdated";d:0.043;s:95:"Tests\Unit\Services\DaemonKeys\DaemonKeyProviderServiceTest::testMissingKeyIsCreatedIfRootAdmin";d:0.047;s:103:"Tests\Unit\Services\DaemonKeys\DaemonKeyProviderServiceTest::testMissingKeyIsCreatedIfUserIsServerOwner";d:0.043;s:94:"Tests\Unit\Services\DaemonKeys\DaemonKeyProviderServiceTest::testMissingKeyIsCreatedForSubuser";d:0.043;s:105:"Tests\Unit\Services\DaemonKeys\DaemonKeyProviderServiceTest::testExceptionIsThrownIfUserDoesNotDeserveKey";d:0.046;s:75:"Tests\Unit\Services\DaemonKeys\DaemonKeyUpdateServiceTest::testKeyIsUpdated";d:0.044;s:95:"Tests\Unit\Services\DaemonKeys\RevokeMultipleDaemonKeysServiceTest::testSuccessfulKeyRevocation";d:0.132;s:110:"Tests\Unit\Services\DaemonKeys\RevokeMultipleDaemonKeysServiceTest::testExceptionThrownFromDaemonCallIsHandled";d:0.082;s:107:"Tests\Unit\Services\DaemonKeys\RevokeMultipleDaemonKeysServiceTest::testIgnoredExceptionsAreHandledProperly";d:0.045;s:80:"Tests\Unit\Services\Databases\DatabasePasswordServiceTest::testPasswordIsChanged";d:0.61;s:102:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testNonRandomFoundHost with data set #0";d:0.049;s:102:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testNonRandomFoundHost with data set #1";d:0.039;s:82:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testNonRandomNoHost";d:0.041;s:82:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testRandomFoundHost";d:0.037;s:79:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testRandomNoHost";d:0.036;s:107:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testServerOverDatabaseLimit with data set #0";d:0.066;s:107:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testServerOverDatabaseLimit with data set #1";d:0.037;s:84:"Tests\Unit\Services\Databases\DeployServerDatabaseServiceTest::testFeatureNotEnabled";d:0.052;s:86:"Tests\Unit\Services\Databases\Hosts\HostCreationServiceTest::testDatabaseHostIsCreated";d:0.046;s:78:"Tests\Unit\Services\Databases\Hosts\HostDeletionServiceTest::testHostIsDeleted";d:0.034;s:126:"Tests\Unit\Services\Databases\Hosts\HostDeletionServiceTest::testExceptionIsThrownIfDeletingHostWithDatabases with data set #0";d:0.04;s:126:"Tests\Unit\Services\Databases\Hosts\HostDeletionServiceTest::testExceptionIsThrownIfDeletingHostWithDatabases with data set #1";d:0.034;s:126:"Tests\Unit\Services\Databases\Hosts\HostDeletionServiceTest::testExceptionIsThrownIfDeletingHostWithDatabases with data set #2";d:0.034;s:94:"Tests\Unit\Services\Databases\Hosts\HostUpdateServiceTest::testPasswordIsEncryptedWhenProvided";d:0.037;s:99:"Tests\Unit\Services\Databases\Hosts\HostUpdateServiceTest::testUpdateOccursWhenNoPasswordIsProvided";d:0.036;s:80:"Tests\Unit\Services\Eggs\EggConfigurationServiceTest::testCorrectArrayIsReturned";d:0.04;s:100:"Tests\Unit\Services\Eggs\EggConfigurationServiceTest::testFunctionHandlesIntegerPassedInPlaceOfModel";d:0.036;s:101:"Tests\Unit\Services\Services\Options\EggCreationServiceTest::testCreateNewModelWithoutUsingConfigFrom";d:0.047;s:94:"Tests\Unit\Services\Services\Options\EggCreationServiceTest::testCreateNewModelUsingConfigFrom";d:0.04;s:113:"Tests\Unit\Services\Services\Options\EggCreationServiceTest::testDataProvidedByHandlerTakesPriorityOverPassedData";d:0.039;s:112:"Tests\Unit\Services\Services\Options\EggCreationServiceTest::testExceptionIsThrownIfNoParentConfigurationIsFound";d:0.04;s:96:"Tests\Unit\Services\Services\Options\EggDeletionServiceTest::testEggIsDeletedIfNoServersAreFound";d:0.038;s:99:"Tests\Unit\Services\Services\Options\EggDeletionServiceTest::testExceptionIsThrownIfServersAreFound";d:0.037;s:102:"Tests\Unit\Services\Services\Options\EggDeletionServiceTest::testExceptionIsThrownIfChildrenArePresent";d:0.038;s:101:"Tests\Unit\Services\Services\Options\EggUpdateServiceTest::testEggIsUpdatedWhenNoConfigFromIsProvided";d:0.042;s:105:"Tests\Unit\Services\Services\Options\EggUpdateServiceTest::testOptionIsUpdatedWhenValidConfigFromIsPassed";d:0.041;s:109:"Tests\Unit\Services\Services\Options\EggUpdateServiceTest::testExceptionIsThrownIfInvalidParentConfigIsPassed";d:0.049;s:95:"Tests\Unit\Services\Services\Options\EggUpdateServiceTest::testIntegerCanBePassedInPlaceOfModel";d:0.038;s:105:"Tests\Unit\Services\Services\Options\InstallScriptServiceTest::testUpdateWithValidCopyScriptFromAttribute";d:0.042;s:107:"Tests\Unit\Services\Services\Options\InstallScriptServiceTest::testUpdateWithInvalidCopyScriptFromAttribute";d:0.044;s:106:"Tests\Unit\Services\Services\Options\InstallScriptServiceTest::testUpdateWithoutNewCopyScriptFromAttribute";d:0.038;s:103:"Tests\Unit\Services\Services\Options\InstallScriptServiceTest::testFunctionAcceptsIntegerInPlaceOfModel";d:0.039;s:84:"Tests\Unit\Services\Eggs\Sharing\EggExporterServiceTest::testJsonStructureIsExported";d:0.043;s:91:"Tests\Unit\Services\Services\Sharing\EggImporterServiceTest::testEggConfigurationIsImported";d:0.06;s:97:"Tests\Unit\Services\Services\Sharing\EggImporterServiceTest::testExceptionIsThrownIfFileIsInvalid";d:0.04;s:98:"Tests\Unit\Services\Services\Sharing\EggImporterServiceTest::testExceptionIsThrownIfFileIsNotAFile";d:0.036;s:105:"Tests\Unit\Services\Services\Sharing\EggImporterServiceTest::testExceptionIsThrownIfJsonMetaDataIsInvalid";d:0.037;s:101:"Tests\Unit\Services\Services\Sharing\EggImporterServiceTest::testExceptionIsThrownIfBadJsonIsProvided";d:0.039;s:79:"Tests\Unit\Services\Eggs\Sharing\EggUpdateImporterServiceTest::testEggIsUpdated";d:0.044;s:103:"Tests\Unit\Services\Eggs\Sharing\EggUpdateImporterServiceTest::testVariablesMissingFromImportAreDeleted";d:0.04;s:99:"Tests\Unit\Services\Eggs\Sharing\EggUpdateImporterServiceTest::testExceptionIsThrownIfFileIsInvalid";d:0.046;s:100:"Tests\Unit\Services\Eggs\Sharing\EggUpdateImporterServiceTest::testExceptionIsThrownIfFileIsNotAFile";d:0.036;s:107:"Tests\Unit\Services\Eggs\Sharing\EggUpdateImporterServiceTest::testExceptionIsThrownIfJsonMetaDataIsInvalid";d:0.036;s:103:"Tests\Unit\Services\Eggs\Sharing\EggUpdateImporterServiceTest::testExceptionIsThrownIfBadJsonIsProvided";d:0.043;s:94:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testVariableIsCreatedAndStored";d:0.043;s:108:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testOptionsPassedInArrayKeyAreParsedProperly";d:0.036;s:98:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testNullOptionValueIsPassedAsArray";d:0.036;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #0";d:0.038;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #1";d:0.037;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #2";d:0.036;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #3";d:0.037;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #4";d:0.036;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #5";d:0.036;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #6";d:0.038;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #7";d:0.037;s:146:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #8";d:0.035;s:97:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testEggIdPassedInDataIsNotApplied";d:0.036;s:107:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testInvalidValidationRulesResultInException";d:0.049;s:106:"Tests\Unit\Services\Eggs\Variables\VariableCreationServiceTest::testExceptionNotCausedByBadRuleIsNotCaught";d:0.036;s:116:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testVariableIsUpdatedWhenNoEnvironmentVariableIsPassed";d:0.04;s:82:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testNullDefaultValue";d:0.039;s:119:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testVariableIsUpdatedWhenValidEnvironmentVariableIsPassed";d:0.04;s:96:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testNullOptionValueIsPassedAsArray";d:0.039;s:116:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testDataPassedIntoHandlerTakesLowerPriorityThanDataSet";d:0.038;s:115:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsNotUnique";d:0.04;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #0";d:0.04;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #1";d:0.038;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #2";d:0.039;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #3";d:0.039;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #4";d:0.039;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #5";d:0.039;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #6";d:0.04;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #7";d:0.039;s:144:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionIsThrownIfEnvironmentVariableIsInListOfReservedNames with data set #8";d:0.039;s:105:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testInvalidValidationRulesResultInException";d:0.041;s:104:"Tests\Unit\Services\Eggs\Variables\VariableUpdateServiceTest::testExceptionNotCausedByBadRuleIsNotCaught";d:0.051;s:82:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testPanelVersionIsReturned";d:0.047;s:103:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testPanelVersionIsReturnedAsErrorIfNoKeyIsFound";d:0.039;s:83:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testDaemonVersionIsReturned";d:0.04;s:104:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testDaemonVersionIsReturnedAsErrorIfNoKeyIsFound";d:0.039;s:80:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testDiscordUrlIsReturned";d:0.039;s:130:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testCorrectBooleanValueIsReturnedWhenCheckingPanelVersion with data set #0";d:0.038;s:130:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testCorrectBooleanValueIsReturnedWhenCheckingPanelVersion with data set #1";d:0.037;s:130:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testCorrectBooleanValueIsReturnedWhenCheckingPanelVersion with data set #2";d:0.037;s:131:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testCorrectBooleanValueIsReturnedWhenCheckingDaemonVersion with data set #0";d:0.037;s:131:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testCorrectBooleanValueIsReturnedWhenCheckingDaemonVersion with data set #1";d:0.038;s:131:"Tests\Unit\Services\Helpers\SoftwareVersionServiceTest::testCorrectBooleanValueIsReturnedWhenCheckingDaemonVersion with data set #2";d:0.038;s:80:"Tests\Unit\Services\Locations\LocationCreationServiceTest::testLocationIsCreated";d:0.041;s:80:"Tests\Unit\Services\Locations\LocationDeletionServiceTest::testLocationIsDeleted";d:0.04;s:98:"Tests\Unit\Services\Locations\LocationDeletionServiceTest::testExceptionIsThrownIfNodesAreAttached";d:0.041;s:78:"Tests\Unit\Services\Locations\LocationUpdateServiceTest::testLocationIsUpdated";d:0.055;s:87:"Tests\Unit\Services\Locations\LocationUpdateServiceTest::testModelCanBePassedToFunction";d:0.042;s:74:"Tests\Unit\Services\Services\NestCreationServiceTest::testCreateNewService";d:0.045;s:88:"Tests\Unit\Services\Services\NestCreationServiceTest::testCreateServiceWithDefinedAuthor";d:0.042;s:74:"Tests\Unit\Services\Services\NestDeletionServiceTest::testServiceIsDeleted";d:0.041;s:112:"Tests\Unit\Services\Services\NestDeletionServiceTest::testExceptionIsThrownIfServersAreAttached with data set #0";d:0.04;s:112:"Tests\Unit\Services\Services\NestDeletionServiceTest::testExceptionIsThrownIfServersAreAttached with data set #1";d:0.039;s:112:"Tests\Unit\Services\Services\NestDeletionServiceTest::testExceptionIsThrownIfServersAreAttached with data set #2";d:0.039;s:112:"Tests\Unit\Services\Services\NestDeletionServiceTest::testExceptionIsThrownIfServersAreAttached with data set #3";d:0.039;s:87:"Tests\Unit\Services\Services\NestUpdateServiceTest::testAuthorArrayKeyIsRemovedIfPassed";d:0.041;s:95:"Tests\Unit\Services\Services\NestUpdateServiceTest::testServiceIsUpdatedWhenNoAuthorKeyIsPassed";d:0.041;s:94:"Tests\Unit\Services\Nodes\NodeCreationServiceTest::testNodeIsCreatedAndDaemonSecretIsGenerated";d:0.041;s:90:"Tests\Unit\Services\Nodes\NodeDeletionServiceTest::testNodeIsDeletedIfNoServersAreAttached";d:0.042;s:98:"Tests\Unit\Services\Nodes\NodeDeletionServiceTest::testExceptionIsThrownIfServersAreAttachedToNode";d:0.042;s:96:"Tests\Unit\Services\Nodes\NodeDeletionServiceTest::testModelCanBePassedToFunctionInPlaceOfNodeId";d:0.042;s:88:"Tests\Unit\Services\Nodes\NodeUpdateServiceTest::testNodeIsUpdatedAndDaemonSecretIsReset";d:0.061;s:93:"Tests\Unit\Services\Nodes\NodeUpdateServiceTest::testNodeIsUpdatedAndDaemonSecretIsNotChanged";d:0.043;s:81:"Tests\Unit\Services\Nodes\NodeUpdateServiceTest::testExceptionRelatedToConnection";d:0.05;s:84:"Tests\Unit\Services\Nodes\NodeUpdateServiceTest::testExceptionNotRelatedToConnection";d:0.044;s:88:"Tests\Unit\Services\Packs\ExportPackServiceTest::testFilesAreBundledIntoZipWhenRequested";d:0.06;s:87:"Tests\Unit\Services\Packs\ExportPackServiceTest::testPackConfigurationIsSavedAsJsonFile";d:0.052;s:84:"Tests\Unit\Services\Packs\ExportPackServiceTest::testPackIdCanBePassedInPlaceOfModel";d:0.047;s:97:"Tests\Unit\Services\Packs\ExportPackServiceTest::testExceptionIsThrownIfZipArchiveCannotBeCreated";d:0.045;s:94:"Tests\Unit\Services\Packs\PackCreationServiceTest::testPackIsCreatedWhenNoUploadedFileIsPassed";d:0.044;s:111:"Tests\Unit\Services\Packs\PackCreationServiceTest::testPackIsCreatedWhenUploadedFileIsProvided with data set #0";d:0.044;s:111:"Tests\Unit\Services\Packs\PackCreationServiceTest::testPackIsCreatedWhenUploadedFileIsProvided with data set #1";d:0.042;s:97:"Tests\Unit\Services\Packs\PackCreationServiceTest::testExceptionIsThrownIfInvalidUploadIsProvided";d:0.043;s:113:"Tests\Unit\Services\Packs\PackCreationServiceTest::testExceptionIsThrownIfInvalidMimetypeIsFound with data set #0";d:0.041;s:113:"Tests\Unit\Services\Packs\PackCreationServiceTest::testExceptionIsThrownIfInvalidMimetypeIsFound with data set #1";d:0.04;s:113:"Tests\Unit\Services\Packs\PackCreationServiceTest::testExceptionIsThrownIfInvalidMimetypeIsFound with data set #2";d:0.039;s:68:"Tests\Unit\Services\Packs\PackDeletionServiceTest::testPackIsDeleted";d:0.044;s:86:"Tests\Unit\Services\Packs\PackDeletionServiceTest::testPackIdCanBePassedInPlaceOfModel";d:0.042;s:96:"Tests\Unit\Services\Packs\PackDeletionServiceTest::testExceptionIsThrownIfServerIsAttachedToPack";d:0.042;s:66:"Tests\Unit\Services\Packs\PackUpdateServiceTest::testPackIsUpdated";d:0.045;s:108:"Tests\Unit\Services\Packs\PackUpdateServiceTest::testExceptionIsThrownIfModifyingEggIdWhenServersAreAttached";d:0.043;s:84:"Tests\Unit\Services\Packs\PackUpdateServiceTest::testPackIdCanBePassedInPlaceOfModel";d:0.043;s:93:"Tests\Unit\Services\Packs\TemplateUploadServiceTest::testJsonFileIsProcessed with data set #0";d:0.045;s:93:"Tests\Unit\Services\Packs\TemplateUploadServiceTest::testJsonFileIsProcessed with data set #1";d:0.042;s:75:"Tests\Unit\Services\Packs\TemplateUploadServiceTest::testZipfileIsProcessed";d:0.041;s:95:"Tests\Unit\Services\Packs\TemplateUploadServiceTest::testExceptionIsThrownIfFileUploadIsInvalid";d:0.039;s:110:"Tests\Unit\Services\Packs\TemplateUploadServiceTest::testExceptionIsThrownIfMimetypeIsInvalid with data set #0";d:0.039;s:110:"Tests\Unit\Services\Packs\TemplateUploadServiceTest::testExceptionIsThrownIfMimetypeIsInvalid with data set #1";d:0.039;s:110:"Tests\Unit\Services\Packs\TemplateUploadServiceTest::testExceptionIsThrownIfMimetypeIsInvalid with data set #2";d:0.039;s:98:"Tests\Unit\Services\Packs\TemplateUploadServiceTest::testExceptionIsThrownIfZipArchiveIsUnreadable";d:0.041;s:121:"Tests\Unit\Services\Packs\TemplateUploadServiceTest::testExceptionIsThrownIfZipDoesNotContainProperFiles with data set #0";d:0.041;s:121:"Tests\Unit\Services\Packs\TemplateUploadServiceTest::testExceptionIsThrownIfZipDoesNotContainProperFiles with data set #1";d:0.052;s:121:"Tests\Unit\Services\Packs\TemplateUploadServiceTest::testExceptionIsThrownIfZipDoesNotContainProperFiles with data set #2";d:0.039;s:107:"Tests\Unit\Services\Packs\TemplateUploadServiceTest::testExceptionIsThrownIfArchiveCannotBeExtractedFromZip";d:0.046;s:85:"Tests\Unit\Services\Schedules\ProcessScheduleServiceTest::testScheduleIsUpdatedAndRun";d:0.057;s:94:"Tests\Unit\Services\Servers\EnvironmentServiceTest::testSettingEnvironmentKeyPersistsItInArray";d:0.041;s:112:"Tests\Unit\Services\Servers\EnvironmentServiceTest::testProcessShouldReturnDefaultEnvironmentVariablesForAServer";d:0.042;s:90:"Tests\Unit\Services\Servers\EnvironmentServiceTest::testProcessShouldReturnKeySetAtRuntime";d:0.043;s:115:"Tests\Unit\Services\Servers\EnvironmentServiceTest::testProcessShouldAllowOverwritingVariablesWithConfigurationFile";d:0.041;s:99:"Tests\Unit\Services\Servers\EnvironmentServiceTest::testVariablesSetInConfigurationAllowForClosures";d:0.041;s:120:"Tests\Unit\Services\Servers\EnvironmentServiceTest::testProcessShouldAllowOverwritingDefaultVariablesWithRuntimeProvided";d:0.042;s:102:"Tests\Unit\Services\Servers\ReinstallServerServiceTest::testServerShouldBeReinstalledWhenModelIsPassed";d:0.044;s:105:"Tests\Unit\Services\Servers\ReinstallServerServiceTest::testServerShouldBeReinstalledWhenServerIdIsPassed";d:0.042;s:114:"Tests\Unit\Services\Servers\ReinstallServerServiceTest::testExceptionThrownByGuzzleShouldBeReRenderedAsDisplayable";d:0.041;s:121:"Tests\Unit\Services\Servers\ReinstallServerServiceTest::testExceptionNotThrownByGuzzleShouldNotBeTransformedToDisplayable";d:0.044;s:99:"Tests\Unit\Services\Servers\ServerConfigurationStructureServiceTest::testCorrectStructureIsReturned";d:0.057;s:116:"Tests\Unit\Services\Servers\ServerCreationServiceTest::testCreateShouldHitAllOfTheNecessaryServicesAndStoreTheServer";d:0.062;s:75:"Tests\Unit\Services\Servers\ServerCreationServiceTest::testDataIsAutoFilled";d:0.052;s:79:"Tests\Unit\Services\Servers\ServerCreationServiceTest::testAutoDeploymentObject";d:0.048;s:99:"Tests\Unit\Services\Servers\ServerCreationServiceTest::testExceptionShouldBeThrownIfTheRequestFails";d:0.046;s:81:"Tests\Unit\Services\Servers\ServerDeletionServiceTest::testForceParameterCanBeSet";d:0.046;s:89:"Tests\Unit\Services\Servers\ServerDeletionServiceTest::testServerCanBeDeletedWithoutForce";d:0.045;s:113:"Tests\Unit\Services\Servers\ServerDeletionServiceTest::testServerShouldBeDeletedEvenWhenFailureOccursIfForceIsSet";d:0.044;s:120:"Tests\Unit\Services\Servers\ServerDeletionServiceTest::testExceptionShouldBeThrownIfDaemonReturnsAnErrorAndForceIsNotSet";d:0.043;s:78:"Tests\Unit\Services\Servers\StartupCommandViewServiceTest::testServiceResponse";d:0.045;s:91:"Tests\Unit\Services\Servers\StartupModificationServiceTest::testStartupModifiedAsNormalUser";d:0.044;s:94:"Tests\Unit\Services\Servers\StartupModificationServiceTest::testStartupModificationAsAdminUser";d:0.045;s:105:"Tests\Unit\Services\Servers\SuspensionServiceTest::testFunctionShouldAcceptAnIntegerInPlaceOfAServerModel";d:0.045;s:98:"Tests\Unit\Services\Servers\SuspensionServiceTest::testServerShouldBeSuspendedWhenNoActionIsPassed";d:0.058;s:107:"Tests\Unit\Services\Servers\SuspensionServiceTest::testServerShouldBeUnsuspendedWhenUnsuspendActionIsPassed";d:0.041;s:123:"Tests\Unit\Services\Servers\SuspensionServiceTest::testNoActionShouldHappenIfServerIsAlreadyUnsuspendedAndActionIsUnsuspend";d:0.042;s:119:"Tests\Unit\Services\Servers\SuspensionServiceTest::testNoActionShouldHappenIfServerIsAlreadySuspendedAndActionIsSuspend";d:0.042;s:119:"Tests\Unit\Services\Servers\SuspensionServiceTest::testExceptionThrownByGuzzleShouldBeCaughtAndTransformedToDisplayable";d:0.043;s:96:"Tests\Unit\Services\Servers\SuspensionServiceTest::testExceptionShouldBeThrownIfActionIsNotValid";d:0.041;s:113:"Tests\Unit\Services\Servers\VariableValidatorServiceTest::testEmptyResultSetShouldBeReturnedIfNoVariablesAreFound";d:0.038;s:140:"Tests\Unit\Services\Servers\VariableValidatorServiceTest::testValidatorShouldNotProcessVariablesSetAsNotUserEditableWhenAdminFlagIsNotPassed";d:0.044;s:114:"Tests\Unit\Services\Servers\VariableValidatorServiceTest::testValidatorShouldProcessAllVariablesWhenAdminFlagIsSet";d:0.044;s:124:"Tests\Unit\Services\Servers\VariableValidatorServiceTest::testValidatorShouldThrowExceptionWhenAValidationErrorIsEncountered";d:0.042;s:95:"Tests\Unit\Services\Subusers\PermissionCreationServiceTest::testPermissionsAreAssignedCorrectly";d:0.042;s:87:"Tests\Unit\Services\Subusers\SubuserCreationServiceTest::testAccountIsCreatedForNewUser";d:0.047;s:93:"Tests\Unit\Services\Subusers\SubuserCreationServiceTest::testExistingUserCanBeAddedAsASubuser";d:0.046;s:97:"Tests\Unit\Services\Subusers\SubuserCreationServiceTest::testExceptionIsThrownIfUserIsServerOwner";d:0.042;s:101:"Tests\Unit\Services\Subusers\SubuserCreationServiceTest::testExceptionIsThrownIfUserIsAlreadyASubuser";d:0.042;s:80:"Tests\Unit\Services\Subusers\SubuserUpdateServiceTest::testPermissionsAreUpdated";d:0.043;s:99:"Tests\Unit\Services\Subusers\SubuserUpdateServiceTest::testExceptionIsThrownIfDaemonConnectionFails";d:0.043;s:83:"Tests\Unit\Services\Users\ToggleTwoFactorServiceTest::testTwoFactorIsEnabledForUser";d:0.056;s:77:"Tests\Unit\Services\Users\ToggleTwoFactorServiceTest::testTwoFactorIsDisabled";d:0.044;s:89:"Tests\Unit\Services\Users\ToggleTwoFactorServiceTest::testTwoFactorRemainsDisabledForUser";d:0.043;s:91:"Tests\Unit\Services\Users\ToggleTwoFactorServiceTest::testExceptionIsThrownIfTokenIsInvalid";d:0.045;s:82:"Tests\Unit\Services\Users\TwoFactorSetupServiceTest::testSecretAndImageAreReturned";d:0.047;s:84:"Tests\Unit\Services\UserCreationServiceTest::testUserIsCreatedWhenPasswordIsProvided";d:0.055;s:74:"Tests\Unit\Services\UserCreationServiceTest::testUuidPassedInDataIsIgnored";d:0.044;s:86:"Tests\Unit\Services\UserCreationServiceTest::testUserIsCreatedWhenNoPasswordIsProvided";d:0.043;s:99:"Tests\Unit\Services\Users\UserDeletionServiceTest::testUserIsDeletedIfNoServersAreAttachedToAccount";d:0.042;s:101:"Tests\Unit\Services\Users\UserDeletionServiceTest::testExceptionIsThrownIfServersAreAttachedToAccount";d:0.044;s:86:"Tests\Unit\Services\Users\UserDeletionServiceTest::testModelCanBePassedInPlaceOfUserId";d:0.042;s:119:"Tests\Unit\Services\Users\UserUpdateServiceTest::testUpdateUserWithoutTouchingHasherIfNoPasswordPassed with data set #0";d:0.045;s:119:"Tests\Unit\Services\Users\UserUpdateServiceTest::testUpdateUserWithoutTouchingHasherIfNoPasswordPassed with data set #1";d:0.047;s:119:"Tests\Unit\Services\Users\UserUpdateServiceTest::testUpdateUserWithoutTouchingHasherIfNoPasswordPassed with data set #2";d:0.042;s:119:"Tests\Unit\Services\Users\UserUpdateServiceTest::testUpdateUserWithoutTouchingHasherIfNoPasswordPassed with data set #3";d:0.042;s:88:"Tests\Unit\Services\Users\UserUpdateServiceTest::testUpdateUserAndHashPasswordIfProvided";d:0.042;s:90:"Tests\Unit\Services\Users\UserUpdateServiceTest::testAdministrativeUserRevokingAdminStatus";d:0.041;s:89:"Tests\Unit\Services\Users\UserUpdateServiceTest::testNormalUserShouldNotRevokeAdminStatus";d:0.041;}}} \ No newline at end of file diff --git a/tests/Unit/Services/Databases/DatabasePasswordServiceTest.php b/tests/Unit/Services/Databases/DatabasePasswordServiceTest.php index 25bfee164..226723e9d 100644 --- a/tests/Unit/Services/Databases/DatabasePasswordServiceTest.php +++ b/tests/Unit/Services/Databases/DatabasePasswordServiceTest.php @@ -51,13 +51,14 @@ class DatabasePasswordServiceTest extends TestCase */ public function testPasswordIsChanged() { - $model = factory(Database::class)->make(); + /** @var \Pterodactyl\Models\Database $model */ + $model = factory(Database::class)->make(['max_connections' => 0]); $this->connection->expects('transaction')->with(m::on(function ($closure) { return is_null($closure()); })); - $this->dynamic->shouldReceive('set')->with('dynamic', $model->database_host_id)->once()->andReturnNull(); + $this->dynamic->expects('set')->with('dynamic', $model->database_host_id)->andReturnNull(); $this->encrypter->expects('encrypt')->with(m::on(function ($string) { preg_match_all('/[!@+=.^-]/', $string, $matches, PREG_SET_ORDER); @@ -67,13 +68,13 @@ class DatabasePasswordServiceTest extends TestCase return true; }))->andReturn('enc123'); - $this->repository->shouldReceive('withoutFreshModel')->withNoArgs()->once()->andReturnSelf(); - $this->repository->shouldReceive('update')->with($model->id, ['password' => 'enc123'])->once()->andReturn(true); + $this->repository->expects('withoutFreshModel')->withNoArgs()->andReturnSelf(); + $this->repository->expects('update')->with($model->id, ['password' => 'enc123'])->andReturn(true); - $this->repository->shouldReceive('dropUser')->with($model->username, $model->remote)->once()->andReturn(true); - $this->repository->shouldReceive('createUser')->with($model->username, $model->remote, m::any())->once()->andReturn(true); - $this->repository->shouldReceive('assignUserToDatabase')->with($model->database, $model->username, $model->remote)->once()->andReturn(true); - $this->repository->shouldReceive('flush')->withNoArgs()->once()->andReturn(true); + $this->repository->expects('dropUser')->with($model->username, $model->remote)->andReturn(true); + $this->repository->expects('createUser')->with($model->username, $model->remote, m::any(), 0)->andReturn(true); + $this->repository->expects('assignUserToDatabase')->with($model->database, $model->username, $model->remote)->andReturn(true); + $this->repository->expects('flush')->withNoArgs()->andReturn(true); $response = $this->getService()->handle($model); $this->assertNotEmpty($response); diff --git a/tests/Unit/Services/Databases/DeployServerDatabaseServiceTest.php b/tests/Unit/Services/Databases/DeployServerDatabaseServiceTest.php index b709417d2..fc86cdcfc 100644 --- a/tests/Unit/Services/Databases/DeployServerDatabaseServiceTest.php +++ b/tests/Unit/Services/Databases/DeployServerDatabaseServiceTest.php @@ -10,6 +10,7 @@ use Pterodactyl\Services\Databases\DatabaseManagementService; use Pterodactyl\Services\Databases\DeployServerDatabaseService; use Pterodactyl\Contracts\Repository\DatabaseRepositoryInterface; use Pterodactyl\Contracts\Repository\DatabaseHostRepositoryInterface; +use Pterodactyl\Exceptions\Service\Database\NoSuitableDatabaseHostException; class DeployServerDatabaseServiceTest extends TestCase { @@ -51,16 +52,9 @@ class DeployServerDatabaseServiceTest extends TestCase */ public function testNonRandomFoundHost($limit, $count) { - config()->set('pterodactyl.client_features.databases.allow_random', false); - $server = factory(Server::class)->make(['database_limit' => $limit]); $model = factory(Database::class)->make(); - $this->repository->shouldReceive('findCountWhere') - ->once() - ->with([['server_id', '=', $server->id]]) - ->andReturn($count); - $this->databaseHostRepository->shouldReceive('setColumns->findWhere') ->once() ->with([['node_id', '=', $server->node_id]]) @@ -68,7 +62,7 @@ class DeployServerDatabaseServiceTest extends TestCase $this->managementService->shouldReceive('create') ->once() - ->with($server->id, [ + ->with($server, [ 'database_host_id' => $model->id, 'database' => 'testdb', 'remote' => null, @@ -83,25 +77,20 @@ class DeployServerDatabaseServiceTest extends TestCase /** * Test that an exception is thrown if in non-random mode and no host is found. - * - * @expectedException \Pterodactyl\Exceptions\Service\Database\NoSuitableDatabaseHostException */ public function testNonRandomNoHost() { - config()->set('pterodactyl.client_features.databases.allow_random', false); + $this->expectException(NoSuitableDatabaseHostException::class); $server = factory(Server::class)->make(['database_limit' => 1]); - $this->repository->shouldReceive('findCountWhere') - ->once() - ->with([['server_id', '=', $server->id]]) - ->andReturn(0); - $this->databaseHostRepository->shouldReceive('setColumns->findWhere') ->once() ->with([['node_id', '=', $server->node_id]]) ->andReturn(collect()); + $this->databaseHostRepository->expects('setColumns->all')->withNoArgs()->andReturn(collect()); + $this->getService()->handle($server, []); } @@ -113,11 +102,6 @@ class DeployServerDatabaseServiceTest extends TestCase $server = factory(Server::class)->make(['database_limit' => 1]); $model = factory(Database::class)->make(); - $this->repository->shouldReceive('findCountWhere') - ->once() - ->with([['server_id', '=', $server->id]]) - ->andReturn(0); - $this->databaseHostRepository->shouldReceive('setColumns->findWhere') ->once() ->with([['node_id', '=', $server->node_id]]) @@ -129,7 +113,7 @@ class DeployServerDatabaseServiceTest extends TestCase $this->managementService->shouldReceive('create') ->once() - ->with($server->id, [ + ->with($server, [ 'database_host_id' => $model->id, 'database' => 'testdb', 'remote' => null, @@ -144,60 +128,22 @@ class DeployServerDatabaseServiceTest extends TestCase /** * Test that an exception is thrown when no host is found and random is allowed. - * - * @expectedException \Pterodactyl\Exceptions\Service\Database\NoSuitableDatabaseHostException */ public function testRandomNoHost() { + $this->expectException(NoSuitableDatabaseHostException::class); + $server = factory(Server::class)->make(['database_limit' => 1]); - $this->repository->shouldReceive('findCountWhere') - ->once() - ->with([['server_id', '=', $server->id]]) - ->andReturn(0); - - $this->databaseHostRepository->shouldReceive('setColumns->findWhere') - ->once() + $this->databaseHostRepository->expects('setColumns->findWhere') ->with([['node_id', '=', $server->node_id]]) ->andReturn(collect()); - $this->databaseHostRepository->shouldReceive('setColumns->all') - ->once() - ->andReturn(collect()); + $this->databaseHostRepository->expects('setColumns->all')->withNoArgs()->andReturn(collect()); $this->getService()->handle($server, []); } - /** - * Test that a server over the database limit throws an exception. - * - * @dataProvider databaseExceedingLimitDataProvider - * @expectedException \Pterodactyl\Exceptions\Service\Database\TooManyDatabasesException - */ - public function testServerOverDatabaseLimit($limit, $count) - { - $server = factory(Server::class)->make(['database_limit' => $limit]); - - $this->repository->shouldReceive('findCountWhere') - ->once() - ->with([['server_id', '=', $server->id]]) - ->andReturn($count); - - $this->getService()->handle($server, []); - } - - /** - * Test that an exception is thrown if the feature is not enabled. - * - * @expectedException \Pterodactyl\Exceptions\Service\Database\DatabaseClientFeatureNotEnabledException - */ - public function testFeatureNotEnabled() - { - config()->set('pterodactyl.client_features.databases.enabled', false); - - $this->getService()->handle(factory(Server::class)->make(), []); - } - /** * Provide limits and current database counts for testing. *