(t *testing.T)
| 93 | } |
| 94 | |
| 95 | func CreateClient(t *testing.T) *helper.DevlakeClient { |
| 96 | path := filepath.Join(helper.ProjectRoot, FAKE_PLUGIN_DIR) |
| 97 | _ = os.Setenv("REMOTE_PLUGIN_DIR", path) |
| 98 | client := ConnectLocalServer(t) |
| 99 | client.AwaitPluginAvailability(PLUGIN_NAME, 60*time.Second) |
| 100 | return client |
| 101 | } |
| 102 | |
| 103 | func CreateTestConnection(client *helper.DevlakeClient) *helper.Connection { |
| 104 | connection := client.CreateConnection(PLUGIN_NAME, |