You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
224 B
Go
14 lines
224 B
Go
11 months ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/kataras/iris/v12/httptest"
|
||
|
)
|
||
|
|
||
|
func TestNewApp(t *testing.T) {
|
||
|
app := newApp()
|
||
|
e := httptest.New(t, app)
|
||
|
e.GET("/albums").Expect().Status(httptest.StatusOK)
|
||
|
}
|