| Index: appengine/logdog/coordinator/endpoints/services/getConfig_test.go
|
| diff --git a/appengine/logdog/coordinator/endpoints/services/getConfig_test.go b/appengine/logdog/coordinator/endpoints/services/getConfig_test.go
|
| index 982323e7c3fe8963a251c3f9247bcddb708532e8..97398734be0bee283f882146d59a9834f3f92d6f 100644
|
| --- a/appengine/logdog/coordinator/endpoints/services/getConfig_test.go
|
| +++ b/appengine/logdog/coordinator/endpoints/services/getConfig_test.go
|
| @@ -28,6 +28,9 @@ func TestGetConfig(t *testing.T) {
|
| c := memory.Use(context.Background())
|
| c = settings.Use(c, settings.New(&gaesettings.Storage{}))
|
|
|
| + fs := authtest.FakeState{}
|
| + c = auth.WithState(c, &fs)
|
| +
|
| svcStub := ct.Services{}
|
| svcStub.InitConfig()
|
| svcStub.ServiceConfig.Coordinator.ServiceAuthGroup = "test-services"
|
| @@ -35,9 +38,6 @@ func TestGetConfig(t *testing.T) {
|
|
|
| svr := New()
|
|
|
| - fs := authtest.FakeState{}
|
| - c = auth.WithState(c, &fs)
|
| -
|
| Convey(`Returns Forbidden error if not a service.`, func() {
|
| _, err := svr.GetConfig(c, nil)
|
| So(err, ShouldBeRPCPermissionDenied)
|
|
|