TestOrganizationSeeder::run()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 6
c 1
b 0
f 0
dl 0
loc 9
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
use Illuminate\Database\Seeder;
4
5
class TestOrganizationSeeder extends Seeder
6
{
7
    /**
8
     * Run the database seeds.
9
     *
10
     * @return void
11
     */
12
    public function run()
13
    {
14
        \MaksimM\CompositePrimaryKeys\Tests\Stubs\TestOrganization::create([
15
            'organization_id' => 100,
16
            'name'            => 'Foo',
17
        ]);
18
        \MaksimM\CompositePrimaryKeys\Tests\Stubs\TestOrganization::create([
19
            'organization_id' => 101,
20
            'name'            => 'Bar',
21
        ]);
22
    }
23
}
24