// Test for old auth, which no longer is used. public void AuthCheckTokenCurrentTest() { Flickr f = TestData.GetOldAuthInstance(); Auth auth = f.AuthCheckToken(); Assert.IsNotNull(auth, "Auth should not be null."); Assert.AreEqual(f.AuthToken, auth.Token); }
// Test method for old auth no longer needed. public void AuthCheckTokenBasicTest() { Flickr f = TestData.GetOldAuthInstance(); string authToken = f.AuthToken; Assert.IsNotNull(authToken, "authToken should not be null."); Auth auth = f.AuthCheckToken(authToken); Assert.IsNotNull(auth, "Auth should not be null."); Assert.AreEqual(authToken, auth.Token); }