Skip to content

Commit 5ee7095

Browse files
committed
Remove trailing slash
1 parent 8b40444 commit 5ee7095

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

templates/crud/test/Test.EntityManager.tpl.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function testNew(): void
5151
<?php endforeach; ?>
5252
]);
5353

54-
self::assertResponseRedirects($this->path);
54+
self::assertResponseRedirects('<?= $route_path; ?>');
5555

5656
self::assertSame(1, $this-><?= lcfirst($entity_var_singular); ?>Repository->count([]));
5757
}
@@ -94,7 +94,7 @@ public function testEdit(): void
9494
<?php endforeach; ?>
9595
]);
9696

97-
self::assertResponseRedirects('<?= $route_path; ?>/');
97+
self::assertResponseRedirects('<?= $route_path; ?>');
9898

9999
$fixture = $this-><?= lcfirst($entity_var_singular); ?>Repository->findAll();
100100

@@ -117,7 +117,7 @@ public function testRemove(): void
117117
$this->client->request('GET', sprintf('%s%s', $this->path, $fixture->getId()));
118118
$this->client->submitForm('Delete');
119119

120-
self::assertResponseRedirects('<?= $route_path; ?>/');
120+
self::assertResponseRedirects('<?= $route_path; ?>');
121121
self::assertSame(0, $this-><?= lcfirst($entity_var_singular); ?>Repository->count([]));
122122
}
123123
}

0 commit comments

Comments
 (0)