Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
8bb1c31
test
487c Sep 25, 2024
320b4a6
Merge pull request #18 from Waffelmeister/main
487c Sep 25, 2024
6dbda27
remove fake todos
487c Sep 25, 2024
dab3220
first todo
487c Sep 25, 2024
63a2bc9
adding read script metadata
487c Sep 25, 2024
bec0142
first upload
487c Sep 26, 2024
4489f21
update action and paths
487c Sep 26, 2024
f785a81
start error codes
487c Sep 26, 2024
af1ef4f
fix path
487c Sep 26, 2024
d056765
cleaning up server
487c Sep 26, 2024
2a18c22
improve logger
487c Sep 26, 2024
085f488
update and improve error logging
487c Sep 26, 2024
c2089b5
adding coverage
487c Sep 27, 2024
82cd221
throwing errors
487c Sep 27, 2024
deb0eb7
updatea ction
487c Sep 27, 2024
92e131f
todo_to_issue.yml aktualisieren
487c Sep 27, 2024
803af5b
es linting
487c Sep 28, 2024
e90dcbd
action and setting upconfig / npm
487c Sep 28, 2024
7a44a2b
update config
487c Sep 28, 2024
7458782
fix eslintconfig
487c Sep 28, 2024
b18f5a1
test coverage #1
487c Sep 28, 2024
428c52e
shores, improve tests and extend functions
487c Sep 29, 2024
c565208
new route for file, fixing tests
487c Sep 30, 2024
870e3fa
patching and adding models
487c Oct 1, 2024
b4716ed
adding folder for coverage
487c Oct 1, 2024
2722b13
adding descritpion for id
487c Oct 1, 2024
b3de654
adding create folder
487c Oct 1, 2024
9f2fd4b
adding build infos and restructure models
487c Oct 1, 2024
395b3a1
more tests
487c Oct 1, 2024
cb1b2f5
parsing script
487c Oct 2, 2024
d1d898d
change path for script
487c Oct 2, 2024
f36fd5d
patch schema
487c Oct 3, 2024
9ca5513
tests for script and adding cards for demo
487c Oct 3, 2024
58517c6
added
487c Oct 3, 2024
bf5d21f
card actions, script test etc.
487c Oct 3, 2024
45aef6d
todos aufnehmen
487c Oct 3, 2024
ac9fca4
adding get user login
487c Oct 5, 2024
12feab7
adding user function
487c Oct 5, 2024
598dfe2
fix dockerfile
487c Oct 5, 2024
dc875c4
fixing docker postinstall
487c Oct 5, 2024
f12d485
updatetypes
487c Oct 5, 2024
783a718
updated mongoose-to-swagger connection
487c Oct 5, 2024
110e394
Merge branch 'main' into dev
487c Oct 5, 2024
b5e52e4
fixing test
487c Oct 6, 2024
d8fecba
cleanup
487c Oct 6, 2024
d21765d
Merge branch 'dev' of https://github.com/Waffelmeister/yalp_backend i…
487c Oct 6, 2024
9880d9d
remove patch-package
487c Oct 6, 2024
095dda2
fixing broken objects in mongoose-to-swagger
487c Oct 6, 2024
707be71
removing patches
487c Oct 6, 2024
fbe75cb
changes in lockfile
487c Oct 7, 2024
82d5a9c
update package-lock
487c Oct 7, 2024
b05aa54
changes to cards and deck
487c Oct 7, 2024
2d0c6dc
Merge branch 'dev' of https://github.com/Waffelmeister/yalp_backend i…
487c Oct 7, 2024
7c8947f
fixing scripts. test, script
487c Oct 7, 2024
05ed590
change insertion etc
487c Oct 7, 2024
0c87391
change file insert test todo
487c Oct 7, 2024
0c772fb
Automatically added GitHub issue links to TODOs
github-actions[bot] Oct 7, 2024
9d64b24
update packages
487c Oct 7, 2024
f7da6a8
changing user modifications and stuff
487c Oct 8, 2024
554b4ab
changed settings and error message for test
487c Oct 8, 2024
456e24f
Merge branch 'main' into dev
487c Oct 8, 2024
b9a56a0
update of files
487c Oct 8, 2024
21be303
Merge branch 'main' into dev
487c Oct 8, 2024
510c8e2
fix path reduced course
487c Oct 8, 2024
b2282c8
fixing schemas
487c Oct 8, 2024
d026a48
tests, test, test
487c Oct 8, 2024
7bc1abf
remove logging with tests
487c Oct 8, 2024
c05f241
schemas and middlewares
487c Oct 8, 2024
759bbfe
schema api
487c Oct 8, 2024
ccef3f3
adding card functions and paths / demo data / todos
487c Oct 8, 2024
2034c42
Automatically added GitHub issue links to TODOs
github-actions[bot] Oct 8, 2024
37c7849
replacing login with mail and password
487c Oct 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixing test
  • Loading branch information
487c committed Oct 6, 2024
commit b5e52e43069bbedf0e08cf0c0b1731e3c37448d7
9 changes: 2 additions & 7 deletions test/2_user.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,14 @@ describe("User", function () {
});
});


it("succ: PATCH user profile", function (done) {
request(app)
.patch("/api/user")
.set("Accept", "application/json")
.set("Content-Type", "application/json")
.set("Authorization", `Bearer ${token}`)
.send({
name: "John Doe the third",
settings: {
showLastOpenedCourse: true,
},
lastOpenedCourse: "MATHISGREAT101",
})
.send({name:"John Doe The Dirt"})
.expect(200)
.end(function (err, res) {
expect(res.body).to.have.keys(user.fullInfo);
Expand Down