       debug "Deleting #{payload.body.total} product types"
       Promise.all _.map payload.body.results, (productType) =>
         @client.productTypes.byId(productType.id).delete(productType.version)
-    .then (results) =>
+    .then () ->
       debug "Deleted #{results.length} product types"
-      debug 'Delete Category'
-      @client.categories.byId(@testCategory.id).delete(@testCategory.version)
-    .then () ->
       done()
     .catch (error) -> done(_.prettify(error.body))
-
-
   , 60000 # 1min
 
   it 'should create and sync product', (done) ->

      name: {de: pName}
      slug: {de: pSlug}
      description: {de: 'A foo product'}
      categoryOrderHints:
        "#{@testCategory.id}": '0.9'
      categories:[
        {
          typeId: 'category',
          id: @testCategory.id
        }
      ]
      metaTitle: {de: 'The Foo'}
      metaDescription: {de: 'The Foo product'}
      masterVariant:

    .then (result) =>
      expect(result.statusCode).toBe 201
      @productType = result.body
      done()
    .catch (error) -> done(_.prettify(error))

