Skip to content

Commit 7eac86b

Browse files
Changes reverted fro sdk-app-collection
1 parent 6939be8 commit 7eac86b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/service_tests/savedsearch.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ exports.setup = function (svc, loggedOutSvc) {
104104
var updatedSearch = "search * | head 10";
105105
var updatedDescription = "description";
106106

107-
var searches = this.service.savedSearches({ owner: this.service.username, app: "sdkappcollection" });
107+
var searches = this.service.savedSearches({ owner: this.service.username, app: "sdk-app-collection" });
108108

109109
Async.chain([
110110
function (done) {
@@ -234,7 +234,7 @@ exports.setup = function (svc, loggedOutSvc) {
234234
var name = "jssdk_savedsearch_" + getNextId();
235235
var originalSearch = "search index=_internal | head 1";
236236

237-
var searches = this.service.savedSearches({ owner: this.service.username, app: "sdkappcollection" });
237+
var searches = this.service.savedSearches({ owner: this.service.username, app: "sdk-app-collection" });
238238

239239
Async.chain(
240240
function (done) {
@@ -352,7 +352,7 @@ exports.setup = function (svc, loggedOutSvc) {
352352
})
353353

354354
it("Callback#delete test saved searches", function (done) {
355-
var searches = this.service.savedSearches({ owner: this.service.username, app: "sdkappcollection" });
355+
var searches = this.service.savedSearches({ owner: this.service.username, app: "sdk-app-collection" });
356356
searches.fetch(function (err, searches) {
357357
var searchList = searches.list();
358358
Async.parallelEach(
@@ -381,7 +381,7 @@ exports.setup = function (svc, loggedOutSvc) {
381381
})
382382

383383
it("Callback#setupInfo succeeds", function (done) {
384-
var app = new splunkjs.Service.Application(this.service, "sdkappcollection");
384+
var app = new splunkjs.Service.Application(this.service, "sdk-app-collection");
385385
app.setupInfo(function (err, content, app) {
386386
// This error message was removed in modern versions of Splunk
387387
if (err) {

tests/service_tests/view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ exports.setup = function (svc) {
3838

3939
Async.chain([
4040
function (done) {
41-
service.views({ owner: "admin", app: "sdkappcollection" }).create({ name: name, "eai:data": originalData }, done);
41+
service.views({ owner: "admin", app: "sdk-app-collection" }).create({ name: name, "eai:data": originalData }, done);
4242
},
4343
function (view, done) {
4444
assert.ok(view);

0 commit comments

Comments
 (0)