Skip to content

Commit d8d7f39

Browse files
changes done in passing data to create function in api test case
1 parent 6d80df9 commit d8d7f39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/api/taxonomy-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('taxonomy api Test', () => {
2424

2525
it('Create taxonomy', done => {
2626
makeTaxonomy()
27-
.create([{ taxonomy }])
27+
.create(taxonomy)
2828
.then((taxonomyResponse) => {
2929
expect(taxonomyResponse.name).to.be.equal(taxonomy.name)
3030
done()

0 commit comments

Comments
 (0)