public function testDoesNotNeedSluggingWhenSlugIsSet() { $post = Post::create(['title' => 'My first post', 'slug' => 'custom-slug']); $this->assertEquals('custom-slug', $post->slug); }