Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 15c5193

Browse files
committed
Fixed tests
1 parent 597e180 commit 15c5193

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/Unit/AutoRoute/PathProvider/ContentMethodProviderTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ public function testProvideMethodNoSlugify()
9797
public function testProvideMethodWithString()
9898
{
9999
$this->setupTest();
100+
$this->routeStack->expects($this->once())
101+
->method('addPathElements')
102+
->with(array('this/is/a/path'));
100103

101104
$this->provider->init(array('method' => 'getStringSlug'));
102105
$this->provider->providePath($this->routeStack);

0 commit comments

Comments
 (0)