summaryrefslogtreecommitdiffstats
path: root/comm/calendar/test/unit/providers/test_storageCalendar.js
blob: 778f9f925192fada41450ec166e2f51172ce7a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, you can obtain one at http://mozilla.org/MPL/2.0/. */

add_task(async function () {
  let calendar = createCalendar("storage", "moz-storage-calendar://");

  info("creating the item");
  calendarObserver._batchRequired = false;
  await runAddItem(calendar);

  info("modifying the item");
  await runModifyItem(calendar);

  info("deleting the item");
  await runDeleteItem(calendar);
});