Skip to content

ftp: Replace fakeDataConn with mockery#301

Open
NathanBaulch wants to merge 1 commit intoC2FO:mainfrom
NathanBaulch:fakedataconn
Open

ftp: Replace fakeDataConn with mockery#301
NathanBaulch wants to merge 1 commit intoC2FO:mainfrom
NathanBaulch:fakedataconn

Conversation

@NathanBaulch
Copy link
Contributor

Remove fakeDataConn mock in the ftp backend and switch to using mockery instead. This removes a fair bit of mocking boilerplate, along with the dsoprea/go-utility dependency which is no longer needed.

@c2fo-cibot c2fo-cibot bot added the size/XL Denotes a PR that changes 500-999 lines label Dec 9, 2025
@NathanBaulch
Copy link
Contributor Author

NathanBaulch commented Dec 9, 2025

Not sure what's going on with the failing test. I didn't touch the vfsevents module and it passes on my local machine.

Just a flakey test I guess.

@NathanBaulch NathanBaulch force-pushed the fakedataconn branch 3 times, most recently from 60c43da to 9b17bdc Compare December 9, 2025 03:11
@NathanBaulch NathanBaulch changed the title Remove fakeDataConn mock ftp: Replace fakeDataConn with mockery Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL Denotes a PR that changes 500-999 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant