Skip to content

Commit

Permalink
Merge pull request #678 from eerison/router-for-user-social-network
Browse files Browse the repository at this point in the history
Bug/677/Url for user social network
  • Loading branch information
eerison authored Aug 12, 2022
2 parents c5e681d + 28a2b2f commit 946976d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/profile/user-social-network.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
} %}

{% include "profile/partial/form/delete_button.html.twig" with {
'router': 'user-social-network_delete',
'router': 'profile_user-social-network_delete',
'id': userSocialNetworking.id,
} %}
</td>
Expand Down
6 changes: 6 additions & 0 deletions tests/Functional/Controller/Profile/SmokeCrudTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@

$this->client = $client;
});
it('is loading the list page', function (string $listUrl) {
$this->client->request(Request::METHOD_GET, $listUrl);
$this->assertResponseIsSuccessful();
})->with([
'User social network' => '/profile/en/user-social-network',
]);

it('is creating a new register', function (string $listUrl, array $formFields) {
$crawler = $this->client->request(Request::METHOD_GET, $listUrl);
Expand Down

0 comments on commit 946976d

Please sign in to comment.