This repository has been archived on 2022-11-27. You can view files and clone it, but cannot push or open issues or pull requests.
activitypub/tests/server_common_test.go
2018-10-18 11:58:37 +02:00

54 lines
1.1 KiB
Go

package tests
// Common server tests...
import (
"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)
}
*/