package com.uwetrottmann.getglue;

import junit.framework.TestCase;
import org.apache.oltu.oauth2.common.exception.OAuthProblemException;
import org.apache.oltu.oauth2.common.exception.OAuthSystemException;

import java.io.IOException;

public abstract class BaseTestCase extends TestCase {

    protected static final String CLIENT_ID = "7FD930E5C9D030F696ACA631343EB3";
    protected static final String CLIENT_SECRET = "EB4B93F673B95A5A2460CF983BB0A4";
    private static final String TEMPORARY_ACCESS_TOKEN = "57EDD19812FCD9BFD12589AF24B9D2";  /* Expires April 23, 2014, 3:49 a.m. */
    protected static final String REDIRECT_URI = "http://localhost";
    private final GetGlue mManager = new GetGlue();

    @Override
    protected void setUp() throws OAuthSystemException, IOException, OAuthProblemException {
        getManager().setIsDebug(true);
        getManager().setAccessToken(TEMPORARY_ACCESS_TOKEN);
    }

    protected final GetGlue getManager() {
        return mManager;
    }
}

@@ -511,38 +511,38 @@
  = %22
-57EDD19812FCD9BFD12589AF24B9D2
+CF604DD9FB0FE147C0CD589C4F0B95
 %22;  
@@ -556,24 +556,23 @@
 res 
-April 23
+June 21
 , 2014, 
 3:49
@@ -571,14 +571,14 @@
 14, 
-3:49 a
+1:13 p
 .m. 

Refresh access token while we're at it.