app_test.go
author Ollivier Robert <roberto@keltia.net>
Tue, 11 Apr 2017 17:04:40 +0200
changeset 67 1ff7afce37fe
parent 40 c2caa5241c4a
permissions -rw-r--r--
Add a baseURL parameter to NewApp(). This allow for overriding the URL of the instance you are going to talk to during the first call to NewApp(). We have a chicken-and-egg issue otherwise. We need to register before doing anything.

package gondole

import (
	"testing"
	//"github.com/stretchr/testify/assert"
)

func TestNewApp(t *testing.T) {
	//g, err := NewApp("gondole-cli", ourScopes, NoRedirect)
	//assert.NoError(t, err, "no error")
	//assert.Equal(t, "gondole-cli", g.Name, "should be equal")
}