Skip to content

Commit 23abfa0

Browse files
committed
[tests] fix formatting
1 parent 7745cf9 commit 23abfa0

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

test/e2e/mobile_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ func TestPublicDeviceRegisterWithCredentials(t *testing.T) {
190190
{
191191
name: "Valid Credentials",
192192
headers: map[string]string{
193-
"Authorization": "Basic " + base64.StdEncoding.EncodeToString([]byte(firstDevice.Login+":"+firstDevice.Password)),
193+
"Authorization": "Basic " + base64.StdEncoding.EncodeToString(
194+
[]byte(firstDevice.Login+":"+firstDevice.Password),
195+
),
194196
},
195197
expectedStatusCode: 201,
196198
expectedLogin: "",

test/e2e/utils_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ func (o *mobileDeviceRegisterOptions) withCredentials(username, password string)
1818
return o
1919
}
2020

21-
func mobileDeviceRegister(t *testing.T, client *resty.Client, opts ...*mobileDeviceRegisterOptions) mobileRegisterResponse {
21+
func mobileDeviceRegister(
22+
t *testing.T,
23+
client *resty.Client,
24+
opts ...*mobileDeviceRegisterOptions,
25+
) mobileRegisterResponse {
2226
req := client.R()
2327
for _, opt := range opts {
2428
if opt.username != "" && opt.password != "" {

0 commit comments

Comments
 (0)