17 lines
446 B
JavaScript
17 lines
446 B
JavaScript
if (testConfig.ENABLE_ONLINE_TESTS === "true") {
|
|
describe("POST /users/me/pet", function() {
|
|
it("saves pet", function() {
|
|
function assert(pet) {
|
|
expect(pet).to.have.property("OwnerAddress").that.deep.equals({
|
|
AddressLine1: "Alexanderstrasse",
|
|
AddressLine2: "",
|
|
PostalCode: "10999",
|
|
Region: "Berlin",
|
|
City: "Berlin",
|
|
Country: "DE"
|
|
});
|
|
}
|
|
});
|
|
});
|
|
}
|