Skip to content

Commit

Permalink
Google Java Format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Mar 30, 2024
1 parent 7abfa77 commit 613deb0
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.twtw.backend.domain.notification.entity;

public enum NotificationType {
FRIEND_REQUEST, GROUP_REQUEST, DESTINATION_CHANGE, PLAN_REQUEST
FRIEND_REQUEST,
GROUP_REQUEST,
DESTINATION_CHANGE,
PLAN_REQUEST
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package com.twtw.backend.domain.notification.repository;

import com.twtw.backend.domain.notification.entity.Notification;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.UUID;

public interface JpaNotificationRepository extends JpaRepository<Notification, UUID>, NotificationRepository {}
public interface JpaNotificationRepository
extends JpaRepository<Notification, UUID>, NotificationRepository {}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
@Repository
public interface NotificationRepository {
Notification save(final Notification notification);

Optional<Notification> findById(final UUID id);
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package com.twtw.backend.support.exclude;

import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.doNothing;

import com.twtw.backend.domain.notification.messagequeue.FcmProducer;
import com.twtw.backend.support.testcontainer.ContainerTestConfig;

import org.junit.jupiter.api.BeforeEach;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.ContextConfiguration;

import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.doNothing;

@ContextConfiguration(initializers = ContainerTestConfig.class)
public abstract class ExcludeTest {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
package com.twtw.backend.support.service;

import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.doNothing;
import static org.mockito.Mockito.when;

import com.twtw.backend.domain.member.entity.Member;
import com.twtw.backend.domain.member.repository.MemberRepository;
import com.twtw.backend.domain.member.service.AuthService;
import com.twtw.backend.domain.notification.messagequeue.FcmProducer;
import com.twtw.backend.fixture.member.MemberEntityFixture;
import com.twtw.backend.support.stub.StubConfig;
import com.twtw.backend.support.testcontainer.ContainerTestConfig;

import org.junit.jupiter.api.BeforeEach;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.ContextConfiguration;

import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.doNothing;
import static org.mockito.Mockito.when;

@ServiceTest
@ContextConfiguration(
initializers = {ContainerTestConfig.class},
Expand Down

0 comments on commit 613deb0

Please sign in to comment.