# Initialize \`UserStore\` before client connects in integration tests · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/bf638afac51fc6ec76d4592d3005158d33ce0fb3)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: bf638afac51fc6ec76d4592d3005158d33ce0fb3

Requested commit: bf638afac51fc6ec76d4592d3005158d33ce0fb3

Commit: bf638afac51fc6ec76d4592d3005158d33ce0fb3

Tree: 229fe36e2d6f2128aae33ff1157e0a9bd6c185d8

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Initialize `UserStore` before client connects in integration tests

This fixes a failure in `test_contacts` where we were receiving the
initial `proto::UpdateContacts` message before `UserStore` had a chance
to register a message handler for it.

```

## Parents

- [842bfae3af208006982cdfbf1226438d65aa30a0](https://git.cafe/gitcafe/zed/commit/842bfae3af208006982cdfbf1226438d65aa30a0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/bf638afac51fc6ec76d4592d3005158d33ce0fb3?format=markdown)
