Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: logdog/appengine/coordinator/endpoints/services/getConfig_test.go

Issue 2644853005: Update project/service config references. (Closed)
Patch Set: Update project/service config references. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « logdog/appengine/coordinator/config/projects.go ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The LUCI Authors. All rights reserved. 1 // Copyright 2015 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 package services 5 package services
6 6
7 import ( 7 import (
8 "testing" 8 "testing"
9 9
10 "github.com/luci/luci-go/logdog/api/config/svcconfig" 10 "github.com/luci/luci-go/logdog/api/config/svcconfig"
(...skipping 24 matching lines...) Expand all
35 }) 35 })
36 36
37 Convey(`When logged in as a service, can retrieve the configurat ion.`, func() { 37 Convey(`When logged in as a service, can retrieve the configurat ion.`, func() {
38 env.JoinGroup("services") 38 env.JoinGroup("services")
39 39
40 cr, err := svr.GetConfig(c, nil) 40 cr, err := svr.GetConfig(c, nil)
41 So(err, ShouldBeRPCOK) 41 So(err, ShouldBeRPCOK)
42 So(cr, ShouldResemble, &logdog.GetConfigResponse{ 42 So(cr, ShouldResemble, &logdog.GetConfigResponse{
43 ConfigServiceUrl: "test://example.com", 43 ConfigServiceUrl: "test://example.com",
44 ConfigSet: "services/app", 44 ConfigSet: "services/app",
45 » » » » ServiceConfigPath: svcconfig.ServiceConfigFilena me, 45 » » » » ServiceConfigPath: svcconfig.ServiceConfigPath,
46 ConfigServiceHost: "example.com", 46 ConfigServiceHost: "example.com",
47 }) 47 })
48 }) 48 })
49 }) 49 })
50 } 50 }
OLDNEW
« no previous file with comments | « logdog/appengine/coordinator/config/projects.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698