public function setUp() { parent::setUp(); Post::create(['title' => 'Testowy artykuł', 'slug' => 'testowy-artykul', 'category_id' => 1, 'additional' => ["test" => true]]); $this->post = Post::first(); }