-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: backend tests that caused the CI/CD pipeline to fail (#129)
* fix: fixed the SendMoneyImpl test and CompareHashPassword test * fix: fixed the SendMoneyImpl test and CompareHashPassword test * test: commented defective tests * test: uncommented defective tests * fix(test): fixed the BackendHealthTest and ApplicationsTest
- Loading branch information
1 parent
4555549
commit 8f24cc7
Showing
5 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
5 changes: 2 additions & 3 deletions
5
...end/src/main/java/com/adorsys/gis/powerpay/powerpaybackend/repository/UserRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
package com.adorsys.gis.powerpay.powerpaybackend.repository; | ||
|
||
import com.adorsys.gis.powerpay.powerpaybackend.domain.Transaction; | ||
import com.adorsys.gis.powerpay.powerpaybackend.domain.User; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
import org.springframework.stereotype.Repository; | ||
|
||
import java.util.Optional; | ||
|
||
@Repository | ||
public interface UserRepository extends JpaRepository<Transaction, Long> { | ||
Optional<User> findByUserId(String userId); | ||
public interface UserRepository extends JpaRepository<User, String> { | ||
Optional<User> findByPhoneNumber(String phoneNumber); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 8 additions & 4 deletions
12
...est/java/com/adorsys/gis/powerpay/powerpaybackend/utils_test/CompareHashPasswordTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.