Search in sources :

Example 1 with YamlUsers

use of com.artipie.front.auth.YamlUsers in project front by artipie.

the class DeleteUserTest method init.

@BeforeEach
void init() {
    this.blsto = new BlockingStorage(new InMemoryStorage());
    this.users = new YamlUsers(DeleteUserTest.KEY, this.blsto);
}
Also used : InMemoryStorage(com.artipie.asto.memory.InMemoryStorage) BlockingStorage(com.artipie.asto.blocking.BlockingStorage) YamlUsers(com.artipie.front.auth.YamlUsers) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 2 with YamlUsers

use of com.artipie.front.auth.YamlUsers in project front by artipie.

the class UsersTest method init.

@BeforeEach
void init() {
    this.blsto = new BlockingStorage(new InMemoryStorage());
    this.users = new YamlUsers(UsersTest.CREDS, this.blsto);
}
Also used : InMemoryStorage(com.artipie.asto.memory.InMemoryStorage) BlockingStorage(com.artipie.asto.blocking.BlockingStorage) YamlUsers(com.artipie.front.auth.YamlUsers) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 3 with YamlUsers

use of com.artipie.front.auth.YamlUsers in project front by artipie.

the class PutUserTest method init.

@BeforeEach
void init() {
    this.asto = new BlockingStorage(new InMemoryStorage());
    this.users = new YamlUsers(PutUserTest.CREDS_YAML, this.asto);
}
Also used : InMemoryStorage(com.artipie.asto.memory.InMemoryStorage) BlockingStorage(com.artipie.asto.blocking.BlockingStorage) YamlUsers(com.artipie.front.auth.YamlUsers) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

BlockingStorage (com.artipie.asto.blocking.BlockingStorage)3 InMemoryStorage (com.artipie.asto.memory.InMemoryStorage)3 YamlUsers (com.artipie.front.auth.YamlUsers)3 BeforeEach (org.junit.jupiter.api.BeforeEach)3