Drop tests/Feature/QueueSafetyTest.php

The test only asserted property values and method_exists. The diff
itself shows the property values; the test added zero confidence
beyond reading the diff. Heimdall is an app, not a package; its
existing tests are HTTP feature tests against user behavior, not
class-property assertions. Removing this file keeps the PR aligned
with the existing test conventions.
This commit is contained in:
Josh Salway
2026-04-22 16:56:21 +10:00
parent 243ad00810
commit 44be3cb319
-39
View File
@@ -1,39 +0,0 @@
<?php
namespace Tests\Feature;
use App\Jobs\ProcessApps;
use App\Jobs\UpdateApps;
use Tests\TestCase;
class QueueSafetyTest extends TestCase
{
/** @test */
public function updateApps_has_bounded_retry_properties(): void
{
$job = new UpdateApps();
$this->assertSame(3, $job->tries);
$this->assertSame([30, 60, 120], $job->backoff);
$this->assertSame(60, $job->timeout);
$this->assertSame(3600, $job->uniqueFor);
}
/** @test */
public function processApps_has_bounded_retry_properties(): void
{
$job = new ProcessApps();
$this->assertSame(3, $job->tries);
$this->assertSame([30, 60, 120], $job->backoff);
$this->assertSame(60, $job->timeout);
$this->assertSame(3600, $job->uniqueFor);
}
/** @test */
public function both_jobs_expose_a_failed_method(): void
{
$this->assertTrue(method_exists(UpdateApps::class, 'failed'));
$this->assertTrue(method_exists(ProcessApps::class, 'failed'));
}
}