Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F13779272
auth_test.go
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
311 B
Subscribers
None
auth_test.go
View Options
package
writeas
import
(
"testing"
)
func
TestAuthentication
(
t
*
testing
.
T
)
{
dwac
:=
NewDevClient
()
// Log in
_
,
err
:=
dwac
.
LogIn
(
"demo"
,
"demo"
)
if
err
!=
nil
{
t
.
Fatalf
(
"Unable to log in: %v"
,
err
)
}
// Log out
err
=
dwac
.
LogOut
()
if
err
!=
nil
{
t
.
Fatalf
(
"Unable to log out: %v"
,
err
)
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 30, 12:31 AM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3599605
Attached To
rWGO writeas-go
Event Timeline
Log In to Comment