Skip to content

Commit

Permalink
Remove refresh memory db call
Browse files Browse the repository at this point in the history
  • Loading branch information
romanzipp committed Mar 15, 2024
1 parent e516653 commit 0117312
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .phpunit.cache/test-results
Original file line number Diff line number Diff line change
@@ -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}}
2 changes: 0 additions & 2 deletions tests/TestCases/DatabaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ abstract class DatabaseTestCase extends TestCase
{
use RefreshDatabase {
refreshTestDatabase as baseRefreshTestDatabase;
refreshInMemoryDatabase as baseRefreshInMemoryDatabase;
}

protected function refreshInMemoryDatabase(): void
{
$this->createJobsTable();
$this->createFailedJobsTable();

$this->baseRefreshInMemoryDatabase();
}

protected function refreshTestDatabase(): void
Expand Down

0 comments on commit 0117312

Please sign in to comment.