Skip to content

Commit 56b3f5a

Browse files
fx lint issue
1 parent 8129302 commit 56b3f5a

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

tests/looker/looker_integration_test.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ func TestLooker(t *testing.T) {
282282
"source": "my-instance",
283283
"description": "Simple tool to test end to end functionality.",
284284
},
285-
"create_view_from_table": map[string]any{
285+
"create_view_from_table": map[string]any{
286286
"type": "looker-create-view-from-table",
287287
"source": "my-instance",
288288
"description": "Simple tool to test end to end functionality.",
@@ -735,7 +735,7 @@ func TestLooker(t *testing.T) {
735735
},
736736
},
737737
)
738-
tests.RunToolGetTestByName(t, "run_lookml_tests",
738+
tests.RunToolGetTestByName(t, "run_lookml_tests",
739739
map[string]any{
740740
"run_lookml_tests": map[string]any{
741741
"description": "Simple tool to test end to end functionality.",
@@ -773,7 +773,7 @@ func TestLooker(t *testing.T) {
773773
},
774774
},
775775
)
776-
tests.RunToolGetTestByName(t, "create_view_from_table",
776+
tests.RunToolGetTestByName(t, "create_view_from_table",
777777
map[string]any{
778778
"create_view_from_table": map[string]any{
779779
"description": "Simple tool to test end to end functionality.",
@@ -798,19 +798,19 @@ func TestLooker(t *testing.T) {
798798
"description": "The tables to generate views for.\n\t\tEach item must be a map with:\n\t\t- schema (string, required)\n\t\t- table_name (string, required)\n\t\t- primary_key (string, optional)\n\t\t- base_view (boolean, optional)\n\t\t- columns (array of objects, optional): Each object must have 'column_name' (string).",
799799
"items": map[string]any{
800800
"additionalProperties": true,
801-
"authSources": []any{},
802-
"description": "Table definition.",
803-
"name": "table",
804-
"required": true,
805-
"type": "object",
801+
"authSources": []any{},
802+
"description": "Table definition.",
803+
"name": "table",
804+
"required": true,
805+
"type": "object",
806806
},
807-
"name": "tables",
808-
"required": true,
809-
"type": "array",
807+
"name": "tables",
808+
"required": true,
809+
"type": "array",
810810
},
811811
map[string]any{
812812
"authSources": []any{},
813-
"default": "views",
813+
"default": "views",
814814
"description": "The folder to place the view files in (e.g., 'views').",
815815
"name": "folder_name",
816816
"required": false,
@@ -1897,7 +1897,7 @@ func TestLooker(t *testing.T) {
18971897
wantResult = "views"
18981898
tests.RunToolInvokeParametersTest(t, "get_project_directories", []byte(`{"project_id": "the_look"}`), wantResult)
18991899

1900-
wantResult = "{\"status\": \"success\", \"message\": \"Triggered view generation for project the_look in folder views\"}"
1900+
wantResult = "{\"status\": \"success\", \"message\": \"Triggered view generation for project the_look in folder views\"}"
19011901
tests.RunToolInvokeParametersTest(t, "create_view_from_table", []byte(`{"project_id": "the_look", "connection": "thelook", "tables": [{"schema": "demo_db", "table_name": "Employees"}]}`), wantResult)
19021902

19031903
wantResult = "Deleted"

0 commit comments

Comments
 (0)