Skip to content

Commit

Permalink
formating
Browse files Browse the repository at this point in the history
  • Loading branch information
AnuchitO committed Mar 21, 2024
1 parent 5afb685 commit 8b72a59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package com.kampus.kbazaar.shopper;

import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface ShopperRepository extends JpaRepository<Shopper, Integer> {
Optional<Shopper> findByUsername(String username);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,4 @@ void testGetByUsername_ShouldThrowNotFoundException() {
// Assertions
assertThrows(NotFoundException.class, () -> shopperService.getByUsername("DataGuru"));
}


}

0 comments on commit 8b72a59

Please sign in to comment.