mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Update backend/src/middleware/hashtags/hashtagsMiddleware.spec.js
Co-Authored-By: Robert Schäfer <git@roschaefer.de>
This commit is contained in:
parent
2ad4bb3476
commit
15816dd97b
@ -129,7 +129,7 @@ describe('hashtags', () => {
|
|||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('afterwards update the Post by removing a hashtag, leaving a hashtag and add a hashtag', () => {
|
describe('updates the Post by removing, keeping and adding one hashtag respectively', () => {
|
||||||
// The already existing hashtag has no class at this point.
|
// The already existing hashtag has no class at this point.
|
||||||
const postContent =
|
const postContent =
|
||||||
'<p>Hey Dude, <a class="hashtag" href="/search/hashtag/Elections">#Elections</a> should work equal for everybody!? That seems to be the only way to have equal <a href="/search/hashtag/Liberty">#Liberty</a> for everyone.</p>'
|
'<p>Hey Dude, <a class="hashtag" href="/search/hashtag/Elections">#Elections</a> should work equal for everybody!? That seems to be the only way to have equal <a href="/search/hashtag/Liberty">#Liberty</a> for everyone.</p>'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user