Page MenuHomeMusing Studio

No OneTemporary

diff --git a/auth_test.go b/auth_test.go
new file mode 100644
index 0000000..3c78c7e
--- /dev/null
+++ b/auth_test.go
@@ -0,0 +1,21 @@
+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

Mime Type
text/x-diff
Expires
Fri, Jan 31, 9:54 AM (1 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3145731

Event Timeline