-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: remove unused protobuf stuff #248
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -189,24 +189,6 @@ func TestClient_VariableEventIsQueued(t *testing.T) { | |
require.NoError(t, err) | ||
} | ||
|
||
func TestClient_VariableLocal(t *testing.T) { | ||
httpmock.Activate() | ||
defer httpmock.DeactivateAndReset() | ||
httpConfigMock(200) | ||
|
||
c, err := NewClient(test_environmentKey, &Options{}) | ||
fatalErr(t, err) | ||
|
||
user := User{UserId: "j_test", DeviceModel: "testing"} | ||
variable, err := c.Variable(user, "test", true) | ||
fatalErr(t, err) | ||
fmt.Println(variable) | ||
|
||
variableValue, err := c.VariableValue(user, "test", true) | ||
fatalErr(t, err) | ||
fmt.Println(variableValue) | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion (testing): Test function rename needs verification for coverage. The renaming of TestClient_VariableLocalProtobuf to TestClient_VariableLocal suggests a shift in focus possibly due to the removal of protobuf dependencies. Please ensure that the new test name accurately reflects the test's purpose and that all necessary aspects are still being tested. |
||
|
||
func TestClient_VariableLocalFlush(t *testing.T) { | ||
httpmock.Activate() | ||
defer httpmock.DeactivateAndReset() | ||
|
@@ -223,7 +205,7 @@ func TestClient_VariableLocalFlush(t *testing.T) { | |
fmt.Println(variable) | ||
} | ||
|
||
func TestClient_VariableLocalProtobuf(t *testing.T) { | ||
func TestClient_VariableLocal(t *testing.T) { | ||
httpmock.Activate() | ||
defer httpmock.DeactivateAndReset() | ||
httpConfigMock(200) | ||
|
@@ -258,7 +240,7 @@ func TestClient_VariableLocalProtobuf(t *testing.T) { | |
} | ||
} | ||
|
||
func TestClient_VariableLocalProtobuf_UserWithCustomData(t *testing.T) { | ||
func TestClient_VariableLocal_UserWithCustomData(t *testing.T) { | ||
httpmock.Activate() | ||
defer httpmock.DeactivateAndReset() | ||
httpConfigMock(200) | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (code_refinement): Renaming of test function should reflect the updated functionality.
Ensure the new test name accurately represents the test's scope and purpose, especially after significant codebase changes.