Rename plugin to ExternalResources
Change-Id: Ieb7bee4929e4351316ad19d9bcd3752d466437da
diff --git a/service_test.go b/service_test.go
index e32b821..34e58b2 100644
--- a/service_test.go
+++ b/service_test.go
@@ -59,7 +59,7 @@
assert.Equal(t, w.Header().Get("Access-Control-Allow-Credentials"), "null")
assert.Equal(t, w.Header().Get("Vary"), "Origin")
assert.Contains(t, w.Body.String(), "data-server=\"https://korap.ids-mannheim.de\"")
- assert.Contains(t, w.Body.String(), "<title>External Provider</title>")
+ assert.Contains(t, w.Body.String(), "<title>External Resources</title>")
os.Setenv("KORAP_SERVER", "https://korap.ids-mannheim.de/instance/test")
@@ -72,7 +72,7 @@
assert.Equal(t, http.StatusOK, w.Code)
assert.Contains(t, w.Body.String(), "data-server=\"https://korap.ids-mannheim.de/instance/test\"")
- assert.Contains(t, w.Body.String(), "<title>External Provider</title>")
+ assert.Contains(t, w.Body.String(), "<title>External Resources</title>")
}
func TestManifestRoute(t *testing.T) {
@@ -89,7 +89,7 @@
assert.Contains(t, w.Body.String(), "permissions")
assert.Contains(t, w.Body.String(), "/plugin/external")
- os.Setenv("KORAP_EXTERNAL_PROVIDER", "https://korap.ids-mannheim.de/plugin/fun")
+ os.Setenv("KORAP_EXTERNAL_RESOURCES", "https://korap.ids-mannheim.de/plugin/fun")
router = setupRouter()