Adding stubs for common server tests
This commit is contained in:
parent
4b40a20e0d
commit
26b14c3d0c
55
tests/server_common_test.go
Normal file
55
tests/server_common_test.go
Normal file
|
@ -0,0 +1,55 @@
|
|||
package tests
|
||||
|
||||
// Common server tests...
|
||||
|
||||
import (
|
||||
// "activitypub"
|
||||
// "fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
//Server: Fetching the inbox
|
||||
// Try retrieving the actor's inbox of an actor.
|
||||
// Server responds to GET request at inbox URL
|
||||
func TestInboxGETRequest(t *testing.T) {
|
||||
desc := `
|
||||
Server: Fetching the inbox
|
||||
Try retrieving the actor's inbox of an actor.
|
||||
|
||||
Server responds to GET request at inbox URL
|
||||
`
|
||||
t.Skip(desc)
|
||||
}
|
||||
|
||||
//Server: Fetching the inbox
|
||||
// Try retrieving the actor's inbox of an actor.
|
||||
// inbox is an OrderedCollection
|
||||
func TestInboxIsOrderedCollection(t *testing.T) {
|
||||
desc := `
|
||||
Server: Fetching the inbox
|
||||
Try retrieving the actor's inbox of an actor.
|
||||
|
||||
inbox is an OrderedCollection
|
||||
`
|
||||
t.Skip(desc)
|
||||
}
|
||||
|
||||
//Server: Fetching the inbox
|
||||
// Try retrieving the actor's inbox of an actor.
|
||||
// Server filters inbox content according to the requester's permission
|
||||
func TestInboxFilteringBasedOnPermissions(t *testing.T) {
|
||||
desc := `
|
||||
Server: Fetching the inbox
|
||||
Try retrieving the actor's inbox of an actor.
|
||||
|
||||
Server filters inbox content according to the requester's permission
|
||||
`
|
||||
t.Skip(desc)
|
||||
}
|
||||
|
||||
//
|
||||
func Test_(t *testing.T) {
|
||||
desc := `
|
||||
`
|
||||
t.Skip(desc)
|
||||
}
|
Reference in a new issue