Test result fix edited
This commit is contained in:
parent
91d8952e09
commit
7f0b9645d8
@ -11,7 +11,7 @@ class CompaniesTest extends FeatureTestCase
|
||||
$this->loginAs()
|
||||
->get(route('wizard.companies.edit'))
|
||||
->assertStatus(200)
|
||||
->assertSeeText(trans('modules.api_key'));
|
||||
->assertSeeText(trans('general.wizard'));
|
||||
}
|
||||
|
||||
public function testItShouldUpdateCompany()
|
||||
|
@ -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)
|
||||
|
@ -12,7 +12,7 @@ class TaxesTest extends FeatureTestCase
|
||||
$this->loginAs()
|
||||
->get(route('wizard.taxes.index'))
|
||||
->assertStatus(200)
|
||||
->assertSeeText(trans('general.add_new'));
|
||||
->assertSeeText(trans('general.wizard'));
|
||||
}
|
||||
|
||||
public function testItShouldCreateTax()
|
||||
@ -40,7 +40,7 @@ class TaxesTest extends FeatureTestCase
|
||||
|
||||
$request['name'] = $this->faker->text(15);
|
||||
|
||||
$message = trans('messages.success.updated', ['type' => $tax->name]);
|
||||
$message = trans('messages.success.updated', ['type' => $request['name']]);
|
||||
|
||||
$this->loginAs()
|
||||
->patch(route('wizard.taxes.update', $tax->id), $request)
|
||||
|
Loading…
x
Reference in New Issue
Block a user