Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
deniak committed Oct 30, 2023
1 parent dd7ac0f commit 55f9392
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('Functions', function () {
w3c.function(122803).fetch(itemChecker(done, 'name', 'Systems'));
});
it('have services', function (done) {
w3c.function(122803).services().fetch(listChecker(done, 'Issue Tracking'));
w3c.function(122803).services().fetch(listChecker(done, 'Mailing List'));
});
it('have users', function (done) {
w3c.function(122803).users().fetch(listChecker(done, 'Laurent Carcone'));
Expand Down Expand Up @@ -110,10 +110,10 @@ describe("Groups", function () {

describe("Services", function () {
it("can be fetched", function (done) {
w3c.service(2).fetch(itemChecker(done, "type", "tracker"));
w3c.service(487).fetch(itemChecker(done, "type", "chat"));
});
it("have groups", function (done) {
w3c.service(2).groups().fetch(listChecker(done, "Systems"));
w3c.service(487).groups().fetch(listChecker(done, "Web Hypertext Application Technology Community Group"));
});
});

Expand Down Expand Up @@ -189,7 +189,7 @@ describe("Users", function () {
describe('Affiliations', function () {
const STAFF = 52794;
it('can be listed', function (done) {
w3c.affiliations().fetch(listChecker(done, 'Framkom (Forskningsaktiebolaget Medie-och Kommunikationsteknik)'));
w3c.affiliations().fetch(listChecker(done, 'Bull S.A.'));
});
it('can be fetched', function (done) {
w3c.affiliation(STAFF).fetch(itemChecker(done, 'name', 'W3C'));
Expand Down

0 comments on commit 55f9392

Please sign in to comment.