Skip to content

Commit

Permalink
fixed os dependent check in test
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRoettges committed Sep 27, 2023
1 parent 5d85587 commit 0e7984f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crl/crlloader/filecrlloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ func (suite *FileLoaderSuite) TestLoadCRLWhereCRLIsDirectory() {
// Call the LoadCRL method
err = fileLoader.LoadCRL(copyToPath)
assert.Error(suite.T(), err, "should return an error")
assert.Contains(suite.T(), err.Error(), "after 5 attempts, last error: CRL File")
assert.Contains(suite.T(), err.Error(), "is a directory")
}

func (suite *FileLoaderSuite) TestLoadCRLWhereCRLPathDoesNotExist() {
Expand All @@ -123,7 +121,6 @@ func (suite *FileLoaderSuite) TestLoadCRLWhereCRLPathDoesNotExist() {
// Call the LoadCRL method
err = fileLoader.LoadCRL(copyToPath)
assert.Error(suite.T(), err, "should return an error")
assert.Contains(suite.T(), err.Error(), "The system cannot find the path specified")
}

func (suite *FileLoaderSuite) TestLoadCRLWhereCRLTargetPathDoesNotExist() {
Expand All @@ -141,7 +138,6 @@ func (suite *FileLoaderSuite) TestLoadCRLWhereCRLTargetPathDoesNotExist() {
// Call the LoadCRL method
err := fileLoader.LoadCRL(copyToPath)
assert.Error(suite.T(), err, "should return an error")
assert.Contains(suite.T(), err.Error(), "The system cannot find the path specified")
}

func (suite *FileLoaderSuite) TestGetCRLLocationIdentifier() {
Expand Down

0 comments on commit 0e7984f

Please sign in to comment.