Skip to content

Commit

Permalink
Use an API_KEY for contact_properties
Browse files Browse the repository at this point in the history
Why:

We have a failing test creating a group due to limits on the demo
account being reached.

This PR:

Uses a developer account for these tests if an environment variable has
been set.
  • Loading branch information
MattMSumner committed Dec 4, 2018
1 parent 60a241a commit 0bff56b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/contact_properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const chai = require('chai')
const expect = chai.expect

const Hubspot = require('..')
const hubspot = new Hubspot({ apiKey: 'demo' })
const hubspot = new Hubspot({ apiKey: process.env.API_KEY || 'demo' })

const property = {
name: 'mk_customer_fit_segment',
Expand Down

0 comments on commit 0bff56b

Please sign in to comment.