Skip to content

Commit

Permalink
Fix sample app and format fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
addb committed Apr 30, 2021
1 parent c89a7d4 commit b8d4f0d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion AEPMedia/Sources/MediaObject/MediaInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,3 @@ class MediaInfo: Equatable {
return mediaInfoMap
}
}

2 changes: 0 additions & 2 deletions AEPMedia/Tests/UnitTests/MediaObjectTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -925,5 +925,3 @@ class MediaObjectTests: XCTestCase {
XCTAssertEqual(Self.validStateInfo[MediaConstants.StateInfo.STATE_NAME_KEY] as! String, stateInfoMap?[MediaConstants.StateInfo.STATE_NAME_KEY] as? String ?? "")
}
}


Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class VideoAnalyticsProvider: NSObject {
let adPosition = adData["position"] as? Int ?? 0
let adLength = adData["length"] as? Double ?? 0

let adObject = Media.createAdObjectWith(name: adName, adId: adId, position: adPosition, length: adLength)
let adObject = Media.createAdObjectWith(name: adName, id: adId, position: adPosition, length: adLength)

var adMetadata: [String: String] = [:]
// Standard Ad Metadata
Expand Down

0 comments on commit b8d4f0d

Please sign in to comment.