Skip to content

Commit

Permalink
test: remove only and combine test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
shuowu committed May 21, 2020
1 parent b63e510 commit 52be052
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/it/linked-object.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ describe('Linked Object API', () => {
it('should return instance of LinkedObject model', async () => {
linkedObject = await client.addLinkedObjectDefinition(mockLinkedObject);
expect(linkedObject).to.be.instanceOf(models.LinkedObject);
});

it('should match name from request', async () => {
linkedObject = await client.addLinkedObjectDefinition(mockLinkedObject);
expect(linkedObject.primary.name).to.equal(mockLinkedObject.primary.name);
expect(linkedObject.associated.name).to.equal(mockLinkedObject.associated.name);
});
Expand Down Expand Up @@ -151,7 +147,7 @@ describe('Linked Object API', () => {
});
});

describe.only('Delete linked object value', () => {
describe('Delete linked object value', () => {
beforeEach(async () => {
await associateUser.setLinkedObject(linkedObject.primary.name, primaryUser.id);
});
Expand Down

0 comments on commit 52be052

Please sign in to comment.