Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit 20c7583

Browse files
author
Teddy Roncin
committed
⏪ (tests and Address) commited wrong files
I commited 2 test classes in my last commit, which should not be in this branch. So I removed them. I also commited a change in the UserAddress entity, which seems to not affect anything. I discovered too that I changed the UserAdressRepository. This change was not reverted because UserAddress was written with only one "d", which was an error.
1 parent 57f625e commit 20c7583

File tree

3 files changed

+1
-251
lines changed

3 files changed

+1
-251
lines changed

src/Entity/UserAddress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class UserAddress
3232
/**
3333
* The relation to the User which live at this address.
3434
*
35-
* @ORM\ManyToOne(targetEntity=User::class, inversedBy="addresses", cascade={"persist", "remove"})
35+
* @ORM\ManyToOne(targetEntity=User::class, inversedBy="addresses")
3636
* @ORM\JoinColumn(nullable=false)
3737
*/
3838
private $user;

tests/Users/DeleteUser.php

Lines changed: 0 additions & 93 deletions
This file was deleted.

tests/Users/UpdateUser.php

Lines changed: 0 additions & 157 deletions
This file was deleted.

0 commit comments

Comments
 (0)