We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c78124c commit 97df797Copy full SHA for 97df797
2 files changed
src/GeoServer.php
@@ -116,7 +116,7 @@ public function createWorkspace()
116
117
$response = $this->post($route, ['workspace' => [ 'name' => $this->workspace] ]);
118
} catch (ErrorResponseException $ex) {
119
- if ($ex->getCode() !== 401) {
+ if ($ex->getCode() !== 401 && $ex->getCode() !== 409) {
120
throw $ex;
121
}
122
tests/Concern/SetupIntegrationTest.php
@@ -27,7 +27,7 @@
27
trait SetupIntegrationTest
28
{
29
/**
30
- * @var OneOffTech\GeoServer\Client
+ * @var \OneOffTech\GeoServer\GeoServer
31
*/
32
protected $geoserver = null;
33
0 commit comments