From 0117312aef948df017ad18c52089cf87a67d2ffc Mon Sep 17 00:00:00 2001 From: Roman Zipp Date: Fri, 15 Mar 2024 09:38:48 +0100 Subject: [PATCH] Remove refresh memory db call --- .phpunit.cache/test-results | 1 + tests/TestCases/DatabaseTestCase.php | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 .phpunit.cache/test-results diff --git a/.phpunit.cache/test-results b/.phpunit.cache/test-results new file mode 100644 index 0000000..4228603 --- /dev/null +++ b/.phpunit.cache/test-results @@ -0,0 +1 @@ +{"version":1,"defects":{"romanzipp\\QueueMonitor\\Tests\\ClassUsesTraitTest::testUsingMonitorTrait":8,"romanzipp\\QueueMonitor\\Tests\\ClassUsesTraitTest::testUsingMonitorTraitExtended":8,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testData":8,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testMergeData":8,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testMergeDataConflicting":8,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgress":8,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressTooLarge":8,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressNegative":8,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressStandby":8,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressStandbyIgnoredValue":8,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressStandbyTen":8,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressStandbyInFuture":8,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressStandbyInFutureIgnoredValue":8,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressStandbyInFutureTen":8,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testCreateMonitor":8,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testCreateMonitorFromExtending":8,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testDontCreateMonitor":8,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testDontKeepSuccessfulMonitor":8,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testDontKeepSuccessfulMonitorFailing":8,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testBroadcastingJob":8,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testDispatchingJobViaDispatchableTrait":8,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testDispatchingJobViaDispatchableTraitWithArguments":8,"romanzipp\\QueueMonitor\\Tests\\MonitorRetryTest::testRetryFailedMonitor":8,"romanzipp\\QueueMonitor\\Tests\\MonitorRetryTest::testDontRetryMonitorWhenAlreadyRetried":8,"romanzipp\\QueueMonitor\\Tests\\MonitorRetryTest::testDontRetrySucceededMonitor":8,"romanzipp\\QueueMonitor\\Tests\\MonitorStateHandlingTest::testFailing":1,"romanzipp\\QueueMonitor\\Tests\\MonitorStateHandlingTest::testFailingWithHugeExceptionMessage":1,"romanzipp\\QueueMonitor\\Tests\\MonitorTimeCalculationTest::testRemaingSeconds":8,"romanzipp\\QueueMonitor\\Tests\\MonitorTimeCalculationTest::testElaspedSeconds":8,"romanzipp\\QueueMonitor\\Tests\\MonitorTimeCalculationTest::testElapsedSecondsInterval":8,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testDate":8,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testDays":8,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testInterval":8,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testDateOnlySuccessfull":8,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testDaysOnlySuccessfull":8,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testIntervalOnlySuccessfull":8,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testQueues":8,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testDry":8,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testIndexDisabled":8,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testIndexEnabled":8,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testDeleteDisabledUi":8,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testDeleteDisabledDeletion":8,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testDeleteEnabled":8,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testPurgeDisabledUi":8,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testPurgeDisabledPurging":8,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testPurgeEnabled":8,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testRetryDisabledUi":8,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testRetryDisabledRetrying":8,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testRetryEnabled":8,"romanzipp\\QueueMonitor\\Tests\\StaleCommandTest::testStale":8,"romanzipp\\QueueMonitor\\Tests\\StaleCommandTest::testStaleDays":8,"romanzipp\\QueueMonitor\\Tests\\StaleCommandTest::testStaleInterval":8,"romanzipp\\QueueMonitor\\Tests\\StaleCommandTest::testDry":8},"times":{"romanzipp\\QueueMonitor\\Tests\\ClassUsesTraitTest::testUsingMonitorTrait":0.046,"romanzipp\\QueueMonitor\\Tests\\ClassUsesTraitTest::testUsingMonitorTraitExtended":0.002,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testData":0.143,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testMergeData":0.076,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testMergeDataConflicting":0.079,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgress":0.085,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressTooLarge":0.073,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressNegative":0.072,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressStandby":0.077,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressStandbyIgnoredValue":0.077,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressStandbyTen":0.073,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressStandbyInFuture":0.081,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressStandbyInFutureIgnoredValue":0.077,"romanzipp\\QueueMonitor\\Tests\\MonitorAttributesTest::testProgressStandbyInFutureTen":0.086,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testCreateMonitor":0.077,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testCreateMonitorFromExtending":0.072,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testDontCreateMonitor":0.051,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testDontKeepSuccessfulMonitor":0.076,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testDontKeepSuccessfulMonitorFailing":0.093,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testBroadcastingJob":0.071,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testDispatchingJobViaDispatchableTrait":0.076,"romanzipp\\QueueMonitor\\Tests\\MonitorCreationTest::testDispatchingJobViaDispatchableTraitWithArguments":0.081,"romanzipp\\QueueMonitor\\Tests\\MonitorRetryTest::testRetryFailedMonitor":0.186,"romanzipp\\QueueMonitor\\Tests\\MonitorRetryTest::testDontRetryMonitorWhenAlreadyRetried":0.148,"romanzipp\\QueueMonitor\\Tests\\MonitorRetryTest::testDontRetrySucceededMonitor":0.083,"romanzipp\\QueueMonitor\\Tests\\MonitorStateHandlingTest::testFailing":0.004,"romanzipp\\QueueMonitor\\Tests\\MonitorStateHandlingTest::testFailingWithHugeExceptionMessage":0.001,"romanzipp\\QueueMonitor\\Tests\\MonitorTimeCalculationTest::testRemaingSeconds":0.019,"romanzipp\\QueueMonitor\\Tests\\MonitorTimeCalculationTest::testElaspedSeconds":0.038,"romanzipp\\QueueMonitor\\Tests\\MonitorTimeCalculationTest::testElapsedSecondsInterval":0.019,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testDate":0.105,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testDays":0.072,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testInterval":0.074,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testDateOnlySuccessfull":0.071,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testDaysOnlySuccessfull":0.072,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testIntervalOnlySuccessfull":0.071,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testQueues":0.079,"romanzipp\\QueueMonitor\\Tests\\PurgeCommandTest::testDry":0.067,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testIndexDisabled":0.042,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testIndexEnabled":0.059,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testDeleteDisabledUi":0.019,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testDeleteDisabledDeletion":0.018,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testDeleteEnabled":0.025,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testPurgeDisabledUi":0.004,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testPurgeDisabledPurging":0.004,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testPurgeEnabled":0.009,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testRetryDisabledUi":0.02,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testRetryDisabledRetrying":0.019,"romanzipp\\QueueMonitor\\Tests\\RoutesTest::testRetryEnabled":0.037,"romanzipp\\QueueMonitor\\Tests\\StaleCommandTest::testStale":0.073,"romanzipp\\QueueMonitor\\Tests\\StaleCommandTest::testStaleDays":0.069,"romanzipp\\QueueMonitor\\Tests\\StaleCommandTest::testStaleInterval":0.069,"romanzipp\\QueueMonitor\\Tests\\StaleCommandTest::testDry":0.067}} \ No newline at end of file diff --git a/tests/TestCases/DatabaseTestCase.php b/tests/TestCases/DatabaseTestCase.php index 1b85615..5f65399 100644 --- a/tests/TestCases/DatabaseTestCase.php +++ b/tests/TestCases/DatabaseTestCase.php @@ -10,7 +10,6 @@ abstract class DatabaseTestCase extends TestCase { use RefreshDatabase { refreshTestDatabase as baseRefreshTestDatabase; - refreshInMemoryDatabase as baseRefreshInMemoryDatabase; } protected function refreshInMemoryDatabase(): void @@ -18,7 +17,6 @@ protected function refreshInMemoryDatabase(): void $this->createJobsTable(); $this->createFailedJobsTable(); - $this->baseRefreshInMemoryDatabase(); } protected function refreshTestDatabase(): void