We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea7d4ad commit 266792fCopy full SHA for 266792f
1 file changed
src/test/java/org/buddycloud/channelserver/db/jdbc/JDBCNodeStoreTest.java
@@ -2197,7 +2197,16 @@ public void testGetNodeSubscriptionCountReturnsResultWhereThereAreSome()
2197
.countNodeSubscriptions(TEST_SERVER1_NODE1_ID, false);
2198
assertEquals(4, subscriptionCount);
2199
}
2200
-
+
2201
+ @Test
2202
+ public void testGetNodeSubscriptionCountForOwnerModeratorReturnsResultWhereThereAreSome()
2203
+ throws Exception {
2204
+ dbTester.loadData("node_1");
2205
+ int subscriptionCount = store
2206
+ .countNodeSubscriptions(TEST_SERVER1_NODE1_ID, true);
2207
+ assertEquals(5, subscriptionCount);
2208
+ }
2209
2210
@Test
2211
public void testGetIsCachedSubscriptionNodeReturnsFalseWhereThereAreNoSubscriptions()
2212
throws Exception {
0 commit comments