Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 hidden or 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); |