Skip to content

Commit

Permalink
fix #48: fix sgg services tests
Browse files Browse the repository at this point in the history
- JpaAuditingConfig로 @EnableJpaAuditing 옮김
  • Loading branch information
OldRabbit736 committed Nov 11, 2023
1 parent bbd6fa0 commit 130909b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

import java.util.TimeZone;

@EnableScheduling
@SpringBootApplication
@EnableJpaAuditing
public class TastyFinderApplication {

public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.wanted.teamr.tastyfinder.api.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

@Configuration
@EnableJpaAuditing
public class JpaAuditingConfig {
}

0 comments on commit 130909b

Please sign in to comment.