Skip to content

Commit

Permalink
Remove check for password env var (this is empty in testing)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfenn-newbury committed Dec 18, 2021
1 parent 0318e81 commit 353413b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions routeros/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ func init() {

func testAccPreCheck(t *testing.T) {
if os.Getenv("ROS_HOSTURL") == "" ||
os.Getenv("ROS_USERNAME") == "" ||
os.Getenv("ROS_PASSWORD") == "" {
os.Getenv("ROS_USERNAME") == "" {
t.Fatal("Environment variables must be set for testing")
}
}

0 comments on commit 353413b

Please sign in to comment.