Commit a95a50f5 authored by zeynel's avatar zeynel

Remove old tests

parent ea24fa01
...@@ -61,21 +61,6 @@ describe('Notification Tests', function () { ...@@ -61,21 +61,6 @@ describe('Notification Tests', function () {
}) })
describe('Setting OneSignal Properties', function () { describe('Setting OneSignal Properties', function () {
it('Expect to throw an error when setting invalid parameter', function () {
var notification = NotificationMock.validWithContents;
var notificationObject = new OneSignal.Notification(notification);
try {
var parameter = NotificationMock.invalidParameter;
notificationObject.setParameter(parameter.name, parameter.value);
expect(response).to.equal(undefined);
} catch (err) {
expect(err).to.be.an('string');
expect(err).to.equal(
'"other" is not present in documentation. You should add a exclamation'
.concat(' mark to the begging of the name, if you want to set it : !other'));
}
})
it('Expect to valid data when setting parameter', function () { it('Expect to valid data when setting parameter', function () {
var notification = NotificationMock.validWithContents; var notification = NotificationMock.validWithContents;
var notificationObject = new OneSignal.Notification(notification); var notificationObject = new OneSignal.Notification(notification);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment