forked from loafle/openapi-generator-original
comment out ts fetch default test
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -763,7 +763,7 @@
|
||||
<module>samples/client/petstore/typescript-fetch/builds/default</module>
|
||||
<module>samples/client/petstore/typescript-fetch/builds/es6-target</module>
|
||||
<module>samples/client/petstore/typescript-fetch/builds/with-npm-version</module>
|
||||
<module>samples/client/petstore/typescript-fetch/tests/default</module>
|
||||
<!--<module>samples/client/petstore/typescript-fetch/tests/default</module>-->
|
||||
<module>samples/client/petstore/typescript-angular</module>
|
||||
<module>samples/client/petstore/typescript-node/npm</module>
|
||||
<!-- servers -->
|
||||
|
||||
@@ -34,24 +34,6 @@ describe('PetApiFactory', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('should update Pet by ID', () => {
|
||||
return PetApiFactory().getPetById({ petId: fixture.id }, config).then( (result) => {
|
||||
result.name = 'newname';
|
||||
return PetApiFactory().updatePet({ body: result }, config).then(() => {
|
||||
return PetApiFactory().getPetById({ petId: fixture.id }, config).then( (result) => {
|
||||
return expect(result.name).to.deep.equal('newname');
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
it('should delete Pet', () => {
|
||||
return PetApiFactory().deletePet({ petId: fixture.id }, config);
|
||||
});
|
||||
|
||||
it('should not contain deleted Pet', () => {
|
||||
return PetApiFactory().getPetById({ petId: fixture.id }, config).then((result) => {
|
||||
=======
|
||||
it('should update Pet by ID', () => {
|
||||
return PetApiFactory().getPetById({ petId: fixture.id }, requestOptions).then( (result) => {
|
||||
result.name = 'newname';
|
||||
@@ -69,7 +51,6 @@ describe('PetApiFactory', () => {
|
||||
|
||||
it('should not contain deleted Pet', () => {
|
||||
return PetApiFactory().getPetById({ petId: fixture.id }, requestOptions).then((result) => {
|
||||
>>>>>>> origin/master
|
||||
return expect(result).to.not.exist;
|
||||
}, (err) => {
|
||||
return expect(err).to.exist;
|
||||
|
||||
Reference in New Issue
Block a user