Test result fix edited
This commit is contained in:
@ -12,7 +12,7 @@ class CurrenciesTest extends FeatureTestCase
|
||||
$this->loginAs()
|
||||
->get(route('wizard.currencies.index'))
|
||||
->assertStatus(200)
|
||||
->assertSeeText(trans('demo.currencies.usd'));
|
||||
->assertSeeText(trans('general.wizard'));
|
||||
}
|
||||
|
||||
public function testItShouldCreateCurrency()
|
||||
@ -42,7 +42,7 @@ class CurrenciesTest extends FeatureTestCase
|
||||
|
||||
$request['name'] = $this->faker->text(15);
|
||||
|
||||
$message = trans('messages.success.updated', ['type' => $currency->name]);
|
||||
$message = trans('messages.success.updated', ['type' => $request['name']]);
|
||||
|
||||
$this->loginAs()
|
||||
->patch(route('wizard.currencies.update', $currency->id), $request)
|
||||
|
Reference in New Issue
Block a user