Skip to content

Commit 051e2d7

Browse files
committed
WS-3330: Use example.com for test urls.
1 parent bead7d4 commit 051e2d7

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/unittests.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe("Language Endpoint", function() {
7373
it("detects content and contentUri are defined", function(done) {
7474
var api = new Api('123456789', 'https://analytics.babelstreet.com/rest/v1');
7575
api.parameters.content = "Sample Content";
76-
api.parameters.contentUri = "http://some.url.com";
76+
api.parameters.contentUri = "http://example.com";
7777

7878
api.rosette("language", function(err, res) {
7979
chai.expect(err).to.not.be.null;
@@ -456,7 +456,7 @@ describe("Sentiment Endpoint", function() {
456456
it("detects content and contentUri are defined", function(done) {
457457
var api = new Api('123456789', 'https://analytics.babelstreet.com/rest/v1');
458458
api.parameters.content = "Sample Content";
459-
api.parameters.contentUri = "http://some.url.com";
459+
api.parameters.contentUri = "http://example.com";
460460

461461
api.rosette("sentiment", function(err, res) {
462462
chai.expect(err).to.not.be.null;
@@ -512,7 +512,7 @@ describe("Categories Endpoint", function() {
512512
it("detects content and contentUri are defined", function(done) {
513513
var api = new Api('123456789', 'https://analytics.babelstreet.com/rest/v1');
514514
api.parameters.content = "Sample Content";
515-
api.parameters.contentUri = "http://some.url.com";
515+
api.parameters.contentUri = "http://example.com";
516516

517517
api.rosette("categories", function(err, res) {
518518
chai.expect(err).to.not.be.null;
@@ -569,7 +569,7 @@ describe("Entities Endpoint", function() {
569569
it("detects content and contentUri are defined", function(done) {
570570
var api = new Api('123456789', 'https://analytics.babelstreet.com/rest/v1');
571571
api.parameters.content = "Sample Content";
572-
api.parameters.contentUri = "http://some.url.com";
572+
api.parameters.contentUri = "http://example.com";
573573

574574
api.rosette("entities", function(err, res) {
575575
chai.expect(err).to.not.be.null;
@@ -637,7 +637,7 @@ describe("Events Endpoint", function() {
637637
it("detects content and contentUri are defined", function(done) {
638638
var api = new Api('123456789', 'https://analytics.babelstreet.com/rest/v1');
639639
api.parameters.content = "Sample Content";
640-
api.parameters.contentUri = "http://some.url.com";
640+
api.parameters.contentUri = "http://example.com";
641641

642642
api.rosette("events", function(err, res) {
643643
chai.expect(err).to.not.be.null;
@@ -694,7 +694,7 @@ describe("Morphology Endpoint (suite covers all features)", function() {
694694
it("detects content and contentUri are defined", function(done) {
695695
var api = new Api('123456789', 'https://analytics.babelstreet.com/rest/v1');
696696
api.parameters.content = "Sample Content";
697-
api.parameters.contentUri = "http://some.url.com";
697+
api.parameters.contentUri = "http://example.com";
698698
api.parameters.morphology = 'complete';
699699

700700
api.rosette("morphology", function(err, res) {
@@ -765,7 +765,7 @@ describe("Tokens Endpoint", function() {
765765
it("detects content and contentUri are defined", function(done) {
766766
var api = new Api('123456789', 'https://analytics.babelstreet.com/rest/v1');
767767
api.parameters.content = "Sample Content";
768-
api.parameters.contentUri = "http://some.url.com";
768+
api.parameters.contentUri = "http://example.com";
769769

770770
api.rosette("tokens", function(err, res) {
771771
chai.expect(err).to.not.be.null;
@@ -821,7 +821,7 @@ describe("Sentences Endpoint", function() {
821821
it("detects content and contentUri are defined", function(done) {
822822
var api = new Api('123456789', 'https://analytics.babelstreet.com/rest/v1');
823823
api.parameters.content = "Sample Content";
824-
api.parameters.contentUri = "http://some.url.com";
824+
api.parameters.contentUri = "http://example.com";
825825

826826
api.rosette("sentences", function(err, res) {
827827
chai.expect(err).to.not.be.null;
@@ -873,7 +873,7 @@ describe("Similar Terms Endpoint", function() {
873873
it("detects content and contentUri are defined", function(done) {
874874
var api = new Api('123456789', 'https://analytics.babelstreet.com/rest/v1');
875875
api.parameters.content = "Sample Content";
876-
api.parameters.contentUri = "http://some.url.com";
876+
api.parameters.contentUri = "http://example.com";
877877

878878
api.rosette("similarTerms", function(err, res) {
879879
chai.expect(err).to.not.be.null;
@@ -925,7 +925,7 @@ describe("Semantic Vectors Endpoint", function() {
925925
it("detects content and contentUri are defined", function(done) {
926926
var api = new Api('123456789', 'https://analytics.babelstreet.com/rest/v1');
927927
api.parameters.content = "Sample Content";
928-
api.parameters.contentUri = "http://some.url.com";
928+
api.parameters.contentUri = "http://example.com";
929929

930930
api.rosette("semanticVectors", function(err, res) {
931931
chai.expect(err).to.not.be.null;
@@ -981,7 +981,7 @@ describe("Syntactic Dependencies Endpoint", function() {
981981
it("detects content and contentUri are defined", function(done) {
982982
var api = new Api('123456789', 'https://analytics.babelstreet.com/rest/v1');
983983
api.parameters.content = "Sample Content";
984-
api.parameters.contentUri = "http://some.url.com";
984+
api.parameters.contentUri = "http://example.com";
985985

986986
api.rosette("syntax_dependencies", function(err, res) {
987987
chai.expect(err).to.not.be.null;
@@ -1170,7 +1170,7 @@ describe("Topics Endpoint", function() {
11701170
it("detects content and contentUri are defined", function(done) {
11711171
var api = new Api('123456789', 'https://analytics.babelstreet.com/rest/v1');
11721172
api.parameters.content = "Sample Content";
1173-
api.parameters.contentUri = "http://some.url.com";
1173+
api.parameters.contentUri = "http://example.com";
11741174

11751175
api.rosette("topics", function(err, res) {
11761176
chai.expect(err).to.not.be.null;

0 commit comments

Comments
 (0)