Commit fe97f16 1 parent eb3dd28 commit fe97f16 Copy full SHA for fe97f16
File tree 3 files changed +8
-8
lines changed
backend/src/test/java/com/zzang/chongdae/notification
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
package com .zzang .chongdae .notification .config ;
2
2
3
- import com .zzang .chongdae .notification .service .FakeNotificationSender ;
4
- import com .zzang .chongdae .notification .service .FakeNotificationSubscriber ;
5
3
import com .zzang .chongdae .notification .service .NotificationSender ;
6
4
import com .zzang .chongdae .notification .service .NotificationSubscriber ;
5
+ import com .zzang .chongdae .notification .service .StubNotificationSender ;
6
+ import com .zzang .chongdae .notification .service .StubNotificationSubscriber ;
7
7
import org .springframework .boot .test .context .TestConfiguration ;
8
8
import org .springframework .context .annotation .Bean ;
9
9
import org .springframework .context .annotation .Primary ;
@@ -14,14 +14,14 @@ public class TestNotificationConfig {
14
14
@ Bean
15
15
@ Primary
16
16
public NotificationSender testNotificationSender () {
17
- return new FakeNotificationSender ();
17
+ return new StubNotificationSender ();
18
18
// return new FcmNotificationSender();
19
19
}
20
20
21
21
@ Bean
22
22
@ Primary
23
23
public NotificationSubscriber testNotificationSubscriber () {
24
- return new FakeNotificationSubscriber ();
24
+ return new StubNotificationSubscriber ();
25
25
// return new FcmNotificationSubscriber();
26
26
}
27
27
}
Original file line number Diff line number Diff line change 8
8
import org .slf4j .Logger ;
9
9
import org .slf4j .LoggerFactory ;
10
10
11
- public class FakeNotificationSender implements NotificationSender {
11
+ public class StubNotificationSender implements NotificationSender {
12
12
13
- private static final Logger log = LoggerFactory .getLogger (FakeNotificationSender .class );
13
+ private static final Logger log = LoggerFactory .getLogger (StubNotificationSender .class );
14
14
15
15
@ Override
16
16
public String send (Message message ) {
Original file line number Diff line number Diff line change 6
6
import org .slf4j .Logger ;
7
7
import org .slf4j .LoggerFactory ;
8
8
9
- public class FakeNotificationSubscriber implements NotificationSubscriber {
9
+ public class StubNotificationSubscriber implements NotificationSubscriber {
10
10
11
- private static final Logger log = LoggerFactory .getLogger (FakeNotificationSubscriber .class );
11
+ private static final Logger log = LoggerFactory .getLogger (StubNotificationSubscriber .class );
12
12
13
13
@ Override
14
14
public TopicManagementResponse subscribe (MemberEntity member , FcmTopic topic ) {
You can’t perform that action at this time.
0 commit comments