Skip to content

Commit bfe62cd

Browse files
committed
fix Behat
1 parent 5e54293 commit bfe62cd

File tree

1 file changed

+2
-1
lines changed
  • tests/Fixtures/TestBundle/ApiResource/Polymorphism

1 file changed

+2
-1
lines changed

tests/Fixtures/TestBundle/ApiResource/Polymorphism/Book.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
use Symfony\Component\Serializer\Attribute\DiscriminatorMap;
2121

2222
#[ApiResource(
23+
uriTemplate: '/polymorphism_books',
2324
operations: [
2425
new GetCollection(),
25-
new Get(),
26+
new Get(uriTemplate: '/polymorphism_books/{id}'),
2627
],
2728
)]
2829
#[DiscriminatorMap(typeProperty: 'bookType', mapping: [

0 commit comments

Comments
 (0)