mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
test(mock): drop default-field-value assertion test
This commit is contained in:
1 parent
87506f4b74
commit
5df421956c
1 file changed
-16
@@ -9,22 +9,6 @@ import (
|
||||
"github.com/priyanshujain/sanderling/internal/driver"
|
||||
)
|
||||
|
||||
func TestNew_Defaults(t *testing.T) {
|
||||
mock := New()
|
||||
if !mock.HealthInfo.Ready {
|
||||
t.Errorf("default HealthInfo should be ready")
|
||||
}
|
||||
if mock.HealthInfo.Platform != "android" {
|
||||
t.Errorf("default platform: got %q", mock.HealthInfo.Platform)
|
||||
}
|
||||
if mock.HierarchyJSON == "" {
|
||||
t.Errorf("default hierarchy should be a non-empty JSON")
|
||||
}
|
||||
if len(mock.Actions()) != 0 {
|
||||
t.Errorf("fresh mock should have zero recorded actions")
|
||||
}
|
||||
}
|
||||
|
||||
func TestRecordsAllActionsInOrder(t *testing.T) {
|
||||
mock := New()
|
||||
ctx := context.Background()
|
||||
|
||||
Reference in new issue
Block a user