mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Remove unused actor uuid field
This commit is contained in:
@@ -39,7 +39,7 @@ async function expectAccountFollows (url: string, nameWithDomain: string, follow
|
||||
expect(account.followingCount).to.equal(followingCount, message)
|
||||
}
|
||||
|
||||
async function checkActorFilesWereRemoved (actorUUID: string, serverNumber: number) {
|
||||
async function checkActorFilesWereRemoved (filename: string, serverNumber: number) {
|
||||
const testDirectory = 'test' + serverNumber
|
||||
|
||||
for (const directory of [ 'avatars' ]) {
|
||||
@@ -50,7 +50,7 @@ async function checkActorFilesWereRemoved (actorUUID: string, serverNumber: numb
|
||||
|
||||
const files = await readdir(directoryPath)
|
||||
for (const file of files) {
|
||||
expect(file).to.not.contain(actorUUID)
|
||||
expect(file).to.not.contain(filename)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -524,7 +524,6 @@ async function completeVideoCheck (
|
||||
expect(video.nsfw).to.equal(attributes.nsfw)
|
||||
expect(video.description).to.equal(attributes.description)
|
||||
expect(video.account.id).to.be.a('number')
|
||||
expect(video.account.uuid).to.be.a('string')
|
||||
expect(video.account.host).to.equal(attributes.account.host)
|
||||
expect(video.account.name).to.equal(attributes.account.name)
|
||||
expect(video.channel.displayName).to.equal(attributes.channel.displayName)
|
||||
|
||||
@@ -21,7 +21,6 @@ export interface ActivityPubActor {
|
||||
attributedTo: ActivityPubAttributedTo[]
|
||||
|
||||
support?: string
|
||||
uuid: string
|
||||
publicKey: {
|
||||
id: string
|
||||
owner: string
|
||||
|
||||
@@ -10,7 +10,6 @@ export interface Account extends Actor {
|
||||
|
||||
export interface AccountSummary {
|
||||
id: number
|
||||
uuid: string
|
||||
name: string
|
||||
displayName: string
|
||||
url: string
|
||||
|
||||
@@ -2,7 +2,6 @@ import { Avatar } from '../avatars/avatar.model'
|
||||
|
||||
export interface Actor {
|
||||
id: number
|
||||
uuid: string
|
||||
url: string
|
||||
name: string
|
||||
host: string
|
||||
|
||||
@@ -12,7 +12,6 @@ export interface VideoChannel extends Actor {
|
||||
|
||||
export interface VideoChannelSummary {
|
||||
id: number
|
||||
uuid: string
|
||||
name: string
|
||||
displayName: string
|
||||
url: string
|
||||
|
||||
Reference in New Issue
Block a user