remove unused function
This commit is contained in:
@@ -147,14 +147,6 @@ describe('database', function () {
|
||||
expect(function () { appdb.add(APP_0.id, function () {}); }).to.throwError();
|
||||
});
|
||||
|
||||
it('exists returns false', function (done) {
|
||||
appdb.exists(APP_0.id, function (error, exists) {
|
||||
expect(error).to.be(null);
|
||||
expect(exists).to.be(false);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
it('add succeeds', function (done) {
|
||||
appdb.add(APP_0.id, APP_0.appStoreId, APP_0.manifest, APP_0.location, APP_0.domain, APP_0.portBindings, APP_0, function (error) {
|
||||
expect(error).to.be(null);
|
||||
@@ -162,14 +154,6 @@ describe('database', function () {
|
||||
});
|
||||
});
|
||||
|
||||
it('exists succeeds', function (done) {
|
||||
appdb.exists(APP_0.id, function (error, exists) {
|
||||
expect(error).to.be(null);
|
||||
expect(exists).to.be(true);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
it('getPortBindings succeeds', function (done) {
|
||||
appdb.getPortBindings(APP_0.id, function (error, bindings) {
|
||||
expect(error).to.be(null);
|
||||
|
||||
Reference in New Issue
Block a user