Skip to content

Instantly share code, notes, and snippets.

@hesco
Created March 3, 2014 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hesco/db0dbfde0b9f845e2326 to your computer and use it in GitHub Desktop.
Save hesco/db0dbfde0b9f845e2326 to your computer and use it in GitHub Desktop.
hesco@dessalines:~/sandbox/tfc-mojo$ perl -Ilocal/lib/perl5 t/12-exercise-facility-data-store.t
Mojolicious::secret is DEPRECATED in favor of Mojolicious::secrets at local/lib/perl5/Mojo/Server.pm line 20.
ok 1 - POST /concierge_launch_participant_application
ok 2 - 200 OK
Mojolicious::secret is DEPRECATED in favor of Mojolicious::secrets at local/lib/perl5/Test/Mojo/More.pm line 254.
ok 3 - flash has no value for JSON Pointer "/errror"
ok 4 - New prospects contact data stored in database
# Prospect_id: 50
ok 5 - New prospects data on contact stored in database
1..5
hesco@dessalines:~/sandbox/tfc-mojo$ grep secret -R lib/ | less
hesco@dessalines:~/sandbox/tfc-mojo$ vim lib/TFC.pm
hesco@dessalines:~/sandbox/tfc-mojo$ perl -Ilocal/lib/perl5 t/12-exercise-facility-data-store.t
ok 1 - POST /concierge_launch_participant_application
ok 2 - 200 OK
Mojolicious::secret is DEPRECATED in favor of Mojolicious::secrets at local/lib/perl5/Test/Mojo/More.pm line 254.
Can't use string ("9iQoxUNJSJqfmYuqqNBl9y1Z") as an ARRAY ref while "strict refs" in use at local/lib/perl5/Mojolicious.pm line 189.
# Tests were run but no plan was declared and done_testing() was not seen.
hesco@dessalines:~/sandbox/tfc-mojo$ diff lib/TFC.pm
diff: missing operand after `lib/TFC.pm'
diff: Try `diff --help' for more information.
hesco@dessalines:~/sandbox/tfc-mojo$ git diff lib/TFC.pm
diff --git a/lib/TFC.pm b/lib/TFC.pm
index 42cee53..88270a4 100644
--- a/lib/TFC.pm
+++ b/lib/TFC.pm
@@ -9,7 +9,7 @@ our $VERSION = '0.06';
sub startup {
my $self = shift;
- $self->app->secret('9iQo123xUNJSJqfmYuqqNBl9y1Z');
+ $self->app->secrets('9iQo123xUNJSJqfmYuqqNBl9y1Z');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment