Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions tests/auth/auth.gd
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,21 @@ extends Node2D
@onready var _test_running = false
@onready var console = $console
var _auth_error = false
var _email1 : String
var _email2 : String

signal test_finished()

# Constants
const _email1 = '[email protected]'
const _email2 = '[email protected]'
const _password1 = 'ThisPasswordIsAwesome'
const _password2 = 'ThisPasswordIsStillAwesome'
const _timer_length = 5

# Function called when the scene is ready
func _ready():
var now:int = Time.get_unix_time_from_system()
_email1 = "test_%[email protected]" % now
_email2 = "test2_%[email protected]" % now
Firebase.Auth.login_succeeded.connect(_on_FirebaseAuth_login_succeeded)
Firebase.Auth.signup_succeeded.connect(_on_FirebaseAuth_signup_succeeded)
Firebase.Auth.login_failed.connect(_on_login_failed)
Expand Down