public function test_getting_translated_field_does_not_create_translation() { $this->app->setLocale('en'); $country = new Country(['code' => 'pl']); $country->save(); $country->name; $this->assertSame($country->getTranslation('en'), null); }
public function test_getting_translated_field_does_not_create_translation() { $this->app->setLocale('en'); $country = new Country(['code' => 'pl']); $country->save(); $country->name; $this->assertSame($country->getTranslation('en'), null); }