actingAs(factory(User::class)->create()) ->put('api/me', ['name' => 'Foo', 'email' => 'bar@baz.com']); $this->seeInDatabase('users', ['name' => 'Foo', 'email' => 'bar@baz.com']); } }