     .then (result) =>
       debug 'Fetch projection of updated product'
       @client.productProjections.byId(result.body.id).staged(true).fetch()
-    .then (result) =>
+    .then (result) ->
       updated = result.body
       expect(updated.name).toEqual {de: pName}
       expect(updated.slug).toEqual {de: pSlug}
       expect(updated.description).toEqual {de: 'A foo product'}
-      expect(updated.categoryOrderHints).toEqual { "#{@testCategory.id}": '0.9' }
-      expect(updated.categories).toEqual [ { typeId: 'category', id: @testCategory.id } ]
       expect(updated.metaTitle).toEqual {de: 'The Foo'}
       expect(updated.metaDescription).toEqual {de: 'The Foo product'}
       expect(updated.masterVariant.prices[0].value.centAmount).toBe 1500

      debug "Deleting #{payload.body.total} product types"
      Promise.all _.map payload.body.results, (productType) =>
        @client.productTypes.byId(productType.id).delete(productType.version)
    .then (results) =>
      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'}
      metaTitle: {de: 'The Foo'}
      metaDescription: {de: 'The Foo product'}
      masterVariant:
