You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('Follow should fail when the passed follower profile has already followed the profile in the current revision even after the profile nft has been transfered',asyncfunction(){
138
+
it('Follow should fail when the passed follower profile has already followed the profile even after the profile nft has been transfered',asyncfunction(){
175
139
awaitexpect(
176
140
lensHub.createProfile({
177
141
to: userTwoAddress,
@@ -185,10 +149,18 @@ makeSuiteCleanRoom('Profile Follow Module', function () {
it('Profile creation using profile follow module should succeed and emit expected event',asyncfunction(){
@@ -212,7 +184,7 @@ makeSuiteCleanRoom('Profile Follow Module', function () {
212
184
handle: MOCK_PROFILE_HANDLE,
213
185
imageURI: MOCK_PROFILE_URI,
214
186
followModule: profileFollowModule.address,
215
-
followModuleInitData: DEFAULT_INIT_DATA,
187
+
followModuleInitData: EMPTY_BYTES,
216
188
followNFTURI: MOCK_FOLLOW_NFT_URI,
217
189
});
218
190
@@ -227,7 +199,7 @@ makeSuiteCleanRoom('Profile Follow Module', function () {
227
199
MOCK_PROFILE_HANDLE,
228
200
MOCK_PROFILE_URI,
229
201
profileFollowModule.address,
230
-
DEFAULT_INIT_DATA,
202
+
EMPTY_BYTES,
231
203
MOCK_FOLLOW_NFT_URI,
232
204
awaitgetTimestamp(),
233
205
]);
@@ -248,7 +220,7 @@ makeSuiteCleanRoom('Profile Follow Module', function () {
248
220
consttx=lensHub.setFollowModule(
249
221
FIRST_PROFILE_ID,
250
222
profileFollowModule.address,
251
-
DEFAULT_INIT_DATA
223
+
EMPTY_BYTES
252
224
);
253
225
254
226
constreceipt=awaitwaitForTx(tx);
@@ -257,7 +229,7 @@ makeSuiteCleanRoom('Profile Follow Module', function () {
257
229
matchEvent(receipt,'FollowModuleSet',[
258
230
FIRST_PROFILE_ID,
259
231
profileFollowModule.address,
260
-
DEFAULT_INIT_DATA,
232
+
EMPTY_BYTES,
261
233
awaitgetTimestamp(),
262
234
]);
263
235
});
@@ -271,13 +243,13 @@ makeSuiteCleanRoom('Profile Follow Module', function () {
271
243
handle: MOCK_PROFILE_HANDLE,
272
244
imageURI: MOCK_PROFILE_URI,
273
245
followModule: profileFollowModule.address,
274
-
followModuleInitData: DEFAULT_INIT_DATA,
246
+
followModuleInitData: EMPTY_BYTES,
275
247
followNFTURI: MOCK_FOLLOW_NFT_URI,
276
248
})
277
249
).to.not.be.reverted;
278
250
});
279
251
280
-
it('Follow call should work when follower profile exists, is owned by the follower address and has not already followed the profile in the current revision',asyncfunction(){
252
+
it('Follow call should work when follower profile exists, is owned by the follower address and has not already followed the profile',asyncfunction(){
281
253
awaitexpect(
282
254
lensHub.createProfile({
283
255
to: userTwoAddress,
@@ -288,30 +260,10 @@ makeSuiteCleanRoom('Profile Follow Module', function () {
0 commit comments