Skip to content

Commit

Permalink
Merge pull request #2249 from codeeu/get-in-touch
Browse files Browse the repository at this point in the history
Unit Tests passing
  • Loading branch information
alainvd authored Jun 28, 2024
2 parents fe25b9a + 8bf6a20 commit c1a4313
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions database/factories/UserFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
'provider'=>$faker->randomElement(['facebook','google','github']),
'privacy'=>true,
'receive_emails'=>true,
'consent_given_at'=>\Carbon\Carbon::now(),
'magic_key'=>$faker->randomNumber(6)

];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ public function up()

public function down()
{
Schema::table('users', function (Blueprint $table) {
$table->dropColumn('consent_given_at');
$table->dropColumn('future_consent_given_at');
});

}
}

2 changes: 1 addition & 1 deletion resources/views/layout/footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

</div>
<div class="about">
<img src="/images/EU_logo.png">
<img src="/images/EU_logo.png">t
<div class="phrase">
<div class="text">@lang('base.footer_msg')</div>
<div class="text"><a
Expand Down
1 change: 1 addition & 0 deletions tests/Feature/Achievements/BadgesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public function only_leading_teachers_admin_can_access_other_badges_pages() {
public function only_leading_teachers_can_see_my_badges_page() {

$this->signIn();

$this->get('/my/badges')->assertStatus(403)->assertDontSeeText('My Badges');


Expand Down

0 comments on commit c1a4313

Please sign in to comment.