Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagocarvalhodev committed Dec 18, 2024
1 parent bfd60d1 commit 835db6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions lib/user/name/presentation/bloc/profile_name_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ class ProfileNameBloc extends Bloc<ProfileNameEvent, ProfileNameState> {

final getLogo = refreshLogo || profileLogoTxId == null;

logger.d('Getting primary name with getLogo: $getLogo');

var primaryNameDetails = await _arnsRepository.getPrimaryName(
walletAddress,
update: refreshName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void main() {
'emits [ProfileNameLoading, ProfileNameLoaded] when LoadProfileName is successful',
build: () {
when(() => arnsRepository.getPrimaryName(testWalletAddress,
update: false, getLogo: false))
update: false, getLogo: true))
.thenAnswer((_) async => const PrimaryNameDetails(
primaryName: testPrimaryName,
logo: null,
Expand Down

0 comments on commit 835db6d

Please sign in to comment.