-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-4062] Aded unit tests to /fabric/core
Added test to admin_test.go to test StopServer. Moved os.Exit from the StopServer function into a separate variable to allow unit testing . Replaced if with assert.Equal Signed-off-by: Liam Grace <liamgrace.896@gmail.com> Change-Id: I532336e48eebb92cc25adbe0cec80c888e473387
- Loading branch information
1 parent
9eb72a7
commit 4a84f9d
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters