---
title: "registerImportCompletion(with:)"
framework: appmigrationkit
role: symbol
role_heading: Instance Method
path: "appmigrationkit/appmigrationtester/appimportcontroller/registerimportcompletion(with:)"
---

# registerImportCompletion(with:)

Tells your app that import completed with a given status.

## Declaration

```swift
final func registerImportCompletion(with status: MigrationStatus) async throws
```

## Parameters

- `status`: A status value that indicates success or failure of the import.

## Discussion

Discussion Use this method in a unit test to evaluate how your app handles a post-migration launch. You can uses success or failure statuses to see the different messages presented to the person using the app.
