Compare commits
No commits in common. "d50a2cf5dc2a37f08ff6f2a55ca8b86a8a541afb" and "92770f4eb27a505858b0a12d42811c7a79b0d304" have entirely different histories.
d50a2cf5dc
...
92770f4eb2
3 changed files with 1 additions and 17 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -14,5 +14,4 @@ pom.xml.asc
|
||||||
.clj-kondo/.cache/
|
.clj-kondo/.cache/
|
||||||
.clj-kondo/metosin/
|
.clj-kondo/metosin/
|
||||||
.lsp/.cache/
|
.lsp/.cache/
|
||||||
.calva
|
.calva
|
||||||
.idea
|
|
|
@ -20,7 +20,6 @@
|
||||||
"Relationship"
|
"Relationship"
|
||||||
"Tombstone"
|
"Tombstone"
|
||||||
"Video"
|
"Video"
|
||||||
"Link"
|
|
||||||
; Link Types
|
; Link Types
|
||||||
"Mention"})
|
"Mention"})
|
||||||
|
|
||||||
|
|
|
@ -5,20 +5,6 @@
|
||||||
[clojure.spec.alpha :as s]
|
[clojure.spec.alpha :as s]
|
||||||
[org.domaindrivenarchitecture.activity-pub-poc.activitystreams2-legacy :as sut]))
|
[org.domaindrivenarchitecture.activity-pub-poc.activitystreams2-legacy :as sut]))
|
||||||
|
|
||||||
;(deftest id-test
|
|
||||||
; (is (s/valid? ::sut/id "https://social.bla/alyssa/status/RANDOMHASH")))
|
|
||||||
|
|
||||||
;(deftest type-test
|
|
||||||
; (is (s/valid? ::sut/type "Note"))
|
|
||||||
; (is (s/valid? ::sut/type "Link"))
|
|
||||||
; (is (not(s/valid? ::sut/type "non existing"))))
|
|
||||||
|
|
||||||
;(deftest object-test
|
|
||||||
; (is (s/valid? ::sut/Object "https://social.bla/alyssa/status/RANDOMHASH")
|
|
||||||
; (is (s/valid? ::sut/Object {:id "https://social.bla/alyssa/status/RANDOMHASH" :type "Page"}))))
|
|
||||||
;
|
|
||||||
;(deftest link-test
|
|
||||||
; (is (s/valid? ::sut/Link {:type "Link"})))
|
|
||||||
|
|
||||||
;(deftest Note-test
|
;(deftest Note-test
|
||||||
; (is (s/valid?
|
; (is (s/valid?
|
||||||
|
|
Loading…
Reference in a new issue