Removed PathVersionMiddleware as routes without version are not longer supported

This commit is contained in:
Alejandro Celaya
2019-12-31 16:26:00 +01:00
parent f99ca464de
commit 339121fbb1
6 changed files with 8 additions and 96 deletions

View File

@@ -33,6 +33,7 @@ class ConfigProviderTest extends TestCase
['path' => '/foo'],
['path' => '/bar'],
['path' => '/baz/foo'],
['path' => '/health'],
],
]);
@@ -42,6 +43,7 @@ class ConfigProviderTest extends TestCase
['path' => '/rest/v{version:1|2}/foo'],
['path' => '/rest/v{version:1|2}/bar'],
['path' => '/rest/v{version:1|2}/baz/foo'],
['path' => '/rest/health'],
], $config['routes']);
}
}