Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
brockallen committed Feb 17, 2021
1 parent c735ad6 commit 41a18b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/MetadataService.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ describe("MetadataService", function() {

it("should return metadata from json call", function(done) {
settings.metadataUrl = "http://sts/metadata";
stubJsonService.result = Promise.resolve("test");
stubJsonService.result = Promise.resolve({"test":"data"});

let p = subject.getMetadata();

p.then(result => {
result.should.equal("test");
result.should.deep.equal({"test":"data"});
done();
});
});
Expand All @@ -115,7 +115,7 @@ describe("MetadataService", function() {
});
});

it.only("should merge metadata from seed", function(done) {
it("should merge metadata from seed", function(done) {
settings.metadataUrl = "http://sts/metadata";
settings.metadataSeed = {test1:"one"};
stubJsonService.result = Promise.resolve({test2:"two"});
Expand Down

0 comments on commit 41a18b6

Please sign in to comment.