• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tochka-developers / queue-promises / 9935584685

15 Jul 2024 07:44AM UTC coverage: 47.259% (-18.3%) from 65.524%
9935584685

push

github

darkdarin
fix: tests

4 of 4 new or added lines in 2 files covered. (100.0%)

431 existing lines in 40 files now uncovered.

612 of 1295 relevant lines covered (47.26%)

2.53 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Models/Factories/PromiseEventFactory.php
1
<?php
2

3
namespace Tochka\Promises\Models\Factories;
4

5
use Illuminate\Database\Eloquent\Factories\Factory;
6
use Tochka\Promises\Models\PromiseEvent;
7

8
/**
9
 * @template-extends Factory<PromiseEvent>
10
 */
11
class PromiseEventFactory extends Factory
12
{
13
    /** @var mixed */
14
    protected $model = PromiseEvent::class;
15

16
    public function definition(): array
17
    {
UNCOV
18
        return [
×
UNCOV
19
            'job_id' => $this->faker->randomNumber(5),
×
UNCOV
20
            'event_name' => 'MyEvent',
×
UNCOV
21
            'event_unique_id' => $this->faker->randomNumber(5),
×
UNCOV
22
        ];
×
23
    }
24
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc