     .then (result) =>
       console.log 5
       @masterProductId = result.id
+      @masterProductVersion = result.version
       data =
         actions: [
           { action: 'publish' }

      expect(price.channel.id).toBeDefined()
      expect(price.customerGroup).toBeUndefined()

      price = result.masterData.current.variants[0].prices[1]
      expect(price.value.currencyCode).toBe 'EUR'
      expect(price.value.centAmount).toBe 15000

      expect(price.customerGroup.typeId).toBe 'customer-group'
      expect(price.customerGroup.id).toBeDefined()

      price = result.masterData.staged.masterVariant.prices[1]
      expect(price.value.currencyCode).toBe 'EUR'
      expect(price.value.centAmount).toBe 8999
      expect(price.channel.typeId).toBe 'channel'
      expect(price.channel.id).toBeDefined()
      expect(price.customerGroup.typeId).toBe 'customer-group'
      expect(price.customerGroup.id).toBeDefined()

      price = result.masterData.current.variants[0].prices[0]
      expect(price.value.currencyCode).toBe 'EUR'
      expect(price.value.centAmount).toBe 20000
