Move web application into /web.

This commit is contained in:
2024-08-04 20:48:32 -05:00
parent 338eab1c96
commit 111be977c6
138 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,7 @@
-module(ts_test_common).
-compile(export_all).
-include_lib("eunit/include/eunit.hrl").
-include_lib("../src/ts_db_records.hrl").

View File

@ -0,0 +1,25 @@
-module(ts_user_tests).
%-import(ts_test_common, [assertRecordsEqual/2]).
-include_lib("eunit/include/eunit.hrl").
-include_lib("../src/ts_db_records.hrl").
setup() -> ts_test_env:setup().
cleanup(_Status) -> ts_api_env:cleanup(ok).
% ======== TEST DATA ======== %
joe_user() -> #ts_user{username=joeuser, name="Joe User", pwd="ohmy",
email="JoeUser@users.org",
join_date=calendar:now_to_datetime(erlang:now())}.
% ======== TESTS ======== %
%new_delete_test_() ->
% test data
%JoeUser = joe_user(),
%{setup, fun setup/0, fun cleanup/1, {inorder, [
% ?_test(new(JoeUser)),
% ?_test(lookup(JoeUser#ts_user.username, JoeUser)),