mirror of
https://github.com/Tribufu/TribufuJava
synced 2026-08-10 05:11:08 +00:00
Add oauth2 client
This commit is contained in:
parent
61c562b63d
commit
92ea35896f
12 changed files with 124 additions and 56 deletions
14
lib/src/test/java/com/tribufu/sdk/TribufuClientTest.java
Normal file
14
lib/src/test/java/com/tribufu/sdk/TribufuClientTest.java
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
// Copyright (c) TribuFu. All Rights Reserved
|
||||
|
||||
package com.tribufu.sdk;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
class TribufuClientTest {
|
||||
@Test
|
||||
void clientGetId() {
|
||||
TribufuClient client = new TribufuClient(0, "client_secret");
|
||||
assertEquals(0, client.getId());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue