We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 266792f commit ef0ff79Copy full SHA for ef0ff79
1 file changed
src/test/java/org/buddycloud/channelserver/db/jdbc/JDBCNodeStoreTest.java
@@ -2224,6 +2224,16 @@ public void testGetIsCachedSubscriptionNodeReturnsTrueWhereThereAreSubscriptions
2224
assertEquals(true, cached);
2225
}
2226
2227
+ @Test
2228
+ public void testGetIsCachedSubscriptionNodeForOwnerModeratorReturnsTrueWhereThereAreSubscriptions()
2229
+ throws Exception {
2230
+ dbTester.loadData("node_1");
2231
+ int subscriptionCount = store
2232
+ .countNodeSubscriptions(TEST_SERVER1_NODE1_ID, true);
2233
+ boolean cached = store.nodeHasSubscriptions(TEST_SERVER1_NODE1_ID);
2234
+ assertEquals(true, cached);
2235
+ }
2236
+
2237
@Test(expected = IllegalArgumentException.class)
2238
public void testFirehoseItemsThrowsExceptionIfNegativeLimitRequested()
2239
throws Exception {
0 commit comments