[libgames-support] tests: Make category_request a bit more useful
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgames-support] tests: Make category_request a bit more useful
- Date: Sun, 14 Feb 2016 01:43:44 +0000 (UTC)
commit 7c8e68083ebd9750403862e83b907766aa4bdd7b
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sat Feb 13 19:32:06 2016 -0600
tests: Make category_request a bit more useful
Still not tested, though
tests/test-scores.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/test-scores.vala b/tests/test-scores.vala
index 282b954..887e6c5 100644
--- a/tests/test-scores.vala
+++ b/tests/test-scores.vala
@@ -21,10 +21,10 @@
namespace Games {
namespace Scores {
-private Category category_request (string category_key)
+private Category? category_request (string category_key)
{
// TODO: This isn't tested....
- return new Category("test", "test");
+ return new Category (category_key, category_key);
}
private void add_score_sync (Context context, int score, Category category) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]