Skip to content

Commit 7b73939

Browse files
author
anna-cross
committed
nit
1 parent 06eed7a commit 7b73939

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

cmd/meroxa/root/apps/describe_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const (
5959
"pipeline_filename": "test-pipeline-1.yaml",
6060
"pipeline_original": "pipeline original settings",
6161
"state": "provisioned",
62-
"stream_tech": "kafka",
62+
"stream_provider": "kafka",
6363
"updated": "2024-04-01 20:13:20.111Z"
6464
}
6565
]

cmd/meroxa/root/apps/list_test.go

+1-6
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ package apps
1919
import (
2020
"context"
2121
"encoding/json"
22-
"fmt"
2322
"io"
2423
"net/http"
25-
"net/url"
2624
"strings"
2725
"testing"
2826

@@ -60,15 +58,12 @@ func TestListApplicationExecution(t *testing.T) {
6058

6159
allApps := []Application{*a, *a2}
6260

63-
filter := &url.Values{}
64-
filter.Add("filter", fmt.Sprintf("(id='%s' || name='%s')", a.Name, a.Name))
65-
6661
httpResp := &http.Response{
6762
Body: io.NopCloser(strings.NewReader(body)),
6863
Status: "200 OK",
6964
StatusCode: 200,
7065
}
71-
client.EXPECT().CollectionRequest(ctx, "GET", applicationCollection, "", nil, *filter).Return(
66+
client.EXPECT().CollectionRequest(ctx, "GET", applicationCollection, "", nil, nil).Return(
7267
httpResp,
7368
nil,
7469
)

cmd/meroxa/root/apps/open_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func TestOpenAppExecution(t *testing.T) {
107107
desc: "Successfully open app link with arg",
108108
appArg: "app-name",
109109
tenant: "test",
110-
expectURL: "https://test.na1.meroxa.cloud/apps/lxjcdlsvet3aeoe/detail",
110+
expectURL: "https://test.na1.meroxa.cloud/apps/lxjcdlsvet3aeoe",
111111
appPath: "",
112112
apiURL: "https://test.na1.meroxa.cloud",
113113
},

0 commit comments

Comments
 (0)