refactor(inputloader): better docs and naming (#265)
* refactor(inputloader): better docs and naming Work done as part of https://github.com/ooni/probe/issues/1299. * fix: correct a typo
This commit is contained in:
parent
c94721d9e5
commit
0115d6c470
9 changed files with 59 additions and 35 deletions
|
|
@ -65,7 +65,7 @@ func (InputLoaderBrokenSession) ProbeCC() string {
|
|||
|
||||
func TestInputLoaderNewOrchestraClientFailure(t *testing.T) {
|
||||
il := inputLoader{}
|
||||
lrc := loadRemoteConfig{
|
||||
lrc := inputLoaderLoadRemoteConfig{
|
||||
ctx: context.Background(),
|
||||
session: InputLoaderBrokenSession{},
|
||||
}
|
||||
|
|
@ -98,7 +98,7 @@ func (InputLoaderBrokenOrchestraClient) FetchURLList(ctx context.Context, config
|
|||
|
||||
func TestInputLoaderFetchURLListFailure(t *testing.T) {
|
||||
il := inputLoader{}
|
||||
lrc := loadRemoteConfig{
|
||||
lrc := inputLoaderLoadRemoteConfig{
|
||||
ctx: context.Background(),
|
||||
session: InputLoaderBrokenSession{
|
||||
OrchestraClient: InputLoaderBrokenOrchestraClient{},
|
||||
|
|
|
|||
Loading…
Reference in a new issue