diff --git a/templates/crud/test/Test.EntityManager.tpl.php b/templates/crud/test/Test.EntityManager.tpl.php index e04a9e976..288c2093a 100644 --- a/templates/crud/test/Test.EntityManager.tpl.php +++ b/templates/crud/test/Test.EntityManager.tpl.php @@ -51,7 +51,7 @@ public function testNew(): void ]); - self::assertResponseRedirects($this->path); + self::assertResponseRedirects(''); self::assertSame(1, $this->Repository->count([])); } @@ -94,7 +94,7 @@ public function testEdit(): void ]); - self::assertResponseRedirects('/'); + self::assertResponseRedirects(''); $fixture = $this->Repository->findAll(); @@ -117,7 +117,7 @@ public function testRemove(): void $this->client->request('GET', sprintf('%s%s', $this->path, $fixture->getId())); $this->client->submitForm('Delete'); - self::assertResponseRedirects('/'); + self::assertResponseRedirects(''); self::assertSame(0, $this->Repository->count([])); } }