Fix unit test for latest godata release

This commit is contained in:
Ralf Haferkamp
2025-05-12 11:47:40 +02:00
parent cacba3ee39
commit 96cbff74b7
+2 -1
View File
@@ -496,7 +496,8 @@ var _ = Describe("Users", func() {
}, },
Entry("with invalid filter", "invalid", http.StatusBadRequest), Entry("with invalid filter", "invalid", http.StatusBadRequest),
Entry("with unsupported filter for user property", "mail eq 'unsupported'", http.StatusNotImplemented), Entry("with unsupported filter for user property", "mail eq 'unsupported'", http.StatusNotImplemented),
Entry("with unsupported filter operation", "mail add 10", http.StatusNotImplemented), // This error is caugh by godata's parser already
Entry("with unsupported filter operation", "mail add 10", http.StatusBadRequest),
Entry("with unsupported logical operation", "memberOf/any(n:n/id eq 1) or memberOf/any(n:n/id eq 2)", http.StatusNotImplemented), Entry("with unsupported logical operation", "memberOf/any(n:n/id eq 1) or memberOf/any(n:n/id eq 2)", http.StatusNotImplemented),
Entry("with unsupported lambda query ", `drives/any(n:n/id eq '1')`, http.StatusNotImplemented), Entry("with unsupported lambda query ", `drives/any(n:n/id eq '1')`, http.StatusNotImplemented),
Entry("with unsupported lambda token ", "memberOf/all(n:n/id eq 1)", http.StatusNotImplemented), Entry("with unsupported lambda token ", "memberOf/all(n:n/id eq 1)", http.StatusNotImplemented),