Skip to content

Commit 78fa428

Browse files
Live Preview
1 parent 334c1fd commit 78fa428

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

src/test/java/com/contentstack/sdk/TestLivePreview.java

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -156,23 +156,5 @@ void testCompleteLivePreviewInQuery() throws Exception {
156156
Assertions.assertNotNull(entry);
157157
}
158158

159-
@Test()
160-
void testUpdatedLivePreviewQuery() throws Exception {
161-
Config livePreviewEnablerConfig = new Config().enableLivePreview(true)
162-
.setLivePreviewHost("api.contentstack.io")
163-
.setManagementToken("***REMOVED***");
164-
Stack stack = Contentstack.stack("***REMOVED***", "***REMOVED***", "development", livePreviewEnablerConfig);
165-
HashMap<String, String> hashMap = new HashMap<>();
166-
hashMap.put("content_type_uid", "bugfixes");
167-
hashMap.put("entry_uid", "blt009591baa60f3f3b");
168-
stack.livePreviewQuery(hashMap);
169-
Query entry = stack.contentType("bugfixes").query();
170-
entry.find(new QueryResultsCallBack() {
171-
@Override
172-
public void onCompletion(ResponseType responseType, QueryResult queryresult, Error error) {
173-
Assertions.assertNotNull(entry);
174-
}
175-
});
176-
Assertions.assertNotNull(entry);
177-
}
159+
178160
}

0 commit comments

Comments
 (0)