Skip to content

Commit d40f4c1

Browse files
committed
[client] update tests and comment
1 parent f6ac35f commit d40f4c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

smsgateway/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
const BaseURL = "https://api.sms-gate.app/3rdparty/v1"
1515
const settingsPath = "/settings"
1616

17-
// BASE_URL is deprecated, use BaseURL instead
17+
// Deprecated: BASE_URL is kept for backward compatibility. Use BaseURL instead.
1818
//
1919
//nolint:revive,staticcheck // backward compatibility
2020
const BASE_URL = BaseURL

smsgateway/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func TestConfig_WithBaseURL(t *testing.T) {
5252
{
5353
name: "with empty base URL should use default",
5454
baseURL: "",
55-
expected: "https://api.sms-gate.app/3rdparty/v1",
55+
expected: smsgateway.BaseURL,
5656
},
5757
}
5858

0 commit comments

Comments
 (0)