             XCTFail("Failed to locate environment")
         }
         
-        discovery.getEnvironments(withName: environmentName, failure: failure) { environments in
+        discovery.getEnvironments(withName: environmentNameForNow, failure: failure) { environments in
             for environment in environments {
-                if environment.name == self.environmentName {
+                if environment.name == self.environmentNameForNow {
                     self.environmentID = environment.environmentID
                     expectation.fulfill()
                     return

    private var discovery: Discovery!
    private let timeout: TimeInterval = 15.0
    private let environmentName: String = "swift-sdk-unit-test-environment"
    private let testDescription: String = "For testing"
    private var environmentID: String?
    private let newsEnvironmentName: String = "Watson News Environment"
    private var newsEnvironmentID: String?

            for environment in environments {
                if environment.name == self.newsEnvironmentName {
                    self.newsEnvironmentID = environment.environmentID
                    expectation.fulfill()
                    return
                }
