Fix broken calendar tests.

The tests end up in the widget code, which calls getResources().  This needs to
be supported by the mock.

bug=1985641
1 file changed