Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #251

Merged
merged 1 commit into from
Jan 9, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Escalus can create and delete those users in two ways:
* using in-band registration [XEP-0077](http://xmpp.org/extensions/xep-0077.html)
when it is supported by the server and has no limits on number of registrations
per second (configure `registration_timeout` to `infinity` in case of ejabberd).
* using erlang rpc calls to the ejabberd_admin:register/2 function (incase of MongooseIM or ejabberd as the tested server and the in-band registration is disabled)
* using erlang rpc calls to the ejabberd_admin:register/2 function (in case of MongooseIM or ejabberd as the tested server and the in-band registration is disabled)

You create and delete the users by calling `escalus:create_users/1`
and `escalus:delete_users/1`:
Expand Down
8 changes: 4 additions & 4 deletions mongooseim-escalus-test-1/ejabberd.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
]}
]},

%% Following HTTP API is deprected, the new one abouve should be used instead
%% Following HTTP API is deprecated, the new one above should be used instead

{ {5288, "127.0.0.1"} , ejabberd_cowboy, [
{num_acceptors, 10},
Expand Down Expand Up @@ -832,7 +832,7 @@
%% The preferences store will be called each time, as a message is routed.
%% That is why Mnesia is better suited for this job.
% {user_prefs_store, mnesia},
%% Mnesia back-end with optimized writes and dirty synchronious writes.
%% Mnesia back-end with optimized writes and dirty synchronous writes.
% {user_prefs_store, mnesia_dirty},

%% Enables a pool of asynchronous writers. (default)
Expand All @@ -844,7 +844,7 @@

%% Enable archivization for private messages (default)
% {pm, [
%% Top-level options can be overriden here if needed, for example:
%% Top-level options can be overridden here if needed, for example:
% {async_writer, false}
% ]},

Expand All @@ -854,7 +854,7 @@
%%
% {muc, [
% {host, "muc.@HOST@"}
%% As with pm, top-level options can be overriden for MUC archive
%% As with pm, top-level options can be overridden for MUC archive
% ]}
% ]},

Expand Down
2 changes: 1 addition & 1 deletion src/escalus_bosh_gun.erl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ handle_info(timeout, #state{free = [], busy = [],
{ok, Pid} = connect(Destination, Options),
{noreply, State#state{free = [Pid], total = 1}};
handle_info(_Info, State) ->
ct:pal("Uknown Info in bosh_gun: ~p", [_Info]),
ct:pal("Unknown Info in bosh_gun: ~p", [_Info]),
{noreply, State}.

terminate(_Reason, #state{free = Free, busy = Busy}) ->
Expand Down
2 changes: 1 addition & 1 deletion src/escalus_fresh.erl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

%% @doc
%% Run story with fresh users (non-breaking API).
%% The genererated fresh usernames will consist of the predefined {username, U} value
%% The generated fresh usernames will consist of the predefined {username, U} value
%% prepended to a unique, per-story suffix.
%% {username, <<"alice">>} -> {username, <<"alice32.632506">>}
-spec story(escalus:config(), [escalus_users:resource_spec()], fun()) -> any().
Expand Down
2 changes: 1 addition & 1 deletion src/escalus_pred.erl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%%==============================================================================

%% This module contains predicates (boolean value - returning functions)
%% That are meant to be used primarly with escalus:assert function
%% That are meant to be used primarily with escalus:assert function

-module(escalus_pred).

Expand Down
2 changes: 1 addition & 1 deletion test/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
%% the main XMPP domain served by the tested ejabberd/MongooseIM
{ejabberd_domain, <<"localhost">>}.

%% the server host name or ip addres
%% the server host name or ip address
{ejabberd_addr, <<"127.0.0.1">>}.
{ejabberd_secondary_domain, <<"localhost.bis">>}.
{ejabberd_metrics_rest_port, 5280}.
Expand Down