1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-15 00:15:00 +02:00

Swap out bmizerany/assert package that is deprecated in favor of stretchr/testify/assert

This commit is contained in:
Tanvir Alam
2017-10-23 12:23:46 -04:00
parent fd3925d204
commit 8a77cfcac3
15 changed files with 19 additions and 15 deletions

View File

@ -2,12 +2,13 @@ package api
import (
"github.com/bitly/go-simplejson"
"github.com/bmizerany/assert"
"io/ioutil"
"net/http"
"net/http/httptest"
"strings"
"testing"
"github.com/stretchr/testify/assert"
)
func testBackend(response_code int, payload string) *httptest.Server {