Domain\Schedule\ScheduleRepositoryTest::test_store PHP Method

test_store() public method

public test_store ( )
    public function test_store()
    {
        $repo = App::make(ScheduleRepository::class);
        $store = $repo->store(['name' => 'oi']);
        $this->assertInstanceOf(Schedule::class, $store);
        $this->assertInstanceOf(Carbon::class, $store->created_at);
    }