Skip to content

Commit

Permalink
improve datastores testing
Browse files Browse the repository at this point in the history
  • Loading branch information
hisham waleed karam committed May 15, 2018
1 parent f1d0a18 commit 913103d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datastores_test.go
Expand Up @@ -43,6 +43,9 @@ func (suite *GeoserverDatastoreSuite) TestCreateDatastore() {
created, err := suite.gsCatalog.CreateDatastore(conn, "datastores_test")
assert.True(suite.T(), created)
assert.Nil(suite.T(), err)
created, err = suite.gsCatalog.CreateDatastore(conn, "datastores_test")
assert.False(suite.T(), created)
assert.NotNil(suite.T(), err)
}

func (suite *GeoserverDatastoreSuite) TestDatastoreExists() {
Expand Down

0 comments on commit 913103d

Please sign in to comment.