This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:cloud_functions/cloud_functions.dart'; | |
const String ENDPOINT = "https://us-central1-pickup-c1eb4.cloudfunctions.net/getItems"; | |
Future test() async { | |
final HttpsCallableResult resp = await CloudFunctions.instance.getHttpsCallable( | |
functionName: 'getItems', | |
).call(<String, dynamic>{ | |
"store_id":"0" | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void BookmarksEngine_InsertBookmarkWithNoUser() | |
{ | |
SeedBookmarks(); | |
Bookmark numberOne = new Bookmark(); | |
numberOne.Topic = 7; | |
numberOne.ID = 3; | |
_bookmarksEngine.InsertBookmark(numberOne); | |
var result = _bookmarksEngine.GetBookmark(3); | |
Assert.AreEqual(3, result.ID); |