- test skelet for share

This commit is contained in:
Peter Papp
2021-02-26 18:23:13 +01:00
parent 5227a5fb99
commit dfb809acee
5 changed files with 72 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ class UserTest extends TestCase
/**
* @test
*/
public function it_register_user_via_public_api()
public function it_register_user()
{
$this->postJson('/register', [
'email' => 'john@doe.com',
@@ -55,7 +55,7 @@ class UserTest extends TestCase
/**
* @test
*/
public function it_login_user_via_post_request()
public function it_login_user()
{
$user = User::factory(User::class)
->create(['email' => 'john@doe.com']);
@@ -69,7 +69,7 @@ class UserTest extends TestCase
/**
* @test
*/
public function it_change_user_password_via_post_request()
public function it_change_user_password_in_profile_settings()
{
$user = User::factory(User::class)
->create();