diff --git a/resources/views/federations/show.blade.php b/resources/views/federations/show.blade.php index 6b122a4..8fefc41 100644 --- a/resources/views/federations/show.blade.php +++ b/resources/views/federations/show.blade.php @@ -68,33 +68,6 @@ @section('admin_section') - - - - - {{ __('federations.tagfile') }} - - - - - {{ $federation->tagfile }} - - - - - - - {{ __('federations.cfgfile') }} - - - - - {{ $federation->cfgfile }} - - - - - {{ __('common.add_sp_idp') }} diff --git a/tests/Feature/Http/Controllers/FederationControllerTest.php b/tests/Feature/Http/Controllers/FederationControllerTest.php index caff1e9..2b78d57 100644 --- a/tests/Feature/Http/Controllers/FederationControllerTest.php +++ b/tests/Feature/Http/Controllers/FederationControllerTest.php @@ -341,11 +341,8 @@ public function a_user_can_add_a_new_federation() $federation = Federation::first(); $this->assertEquals($federationName, $federation->name); $this->assertEquals($federationDescription, $federation->description); - $this->assertEquals($federationTagfile, $federation->tagfile); - $this->assertEquals($federationCfgfile, $federation->cfgfile); $this->assertEquals($federationXmlid, $federation->xml_id); $this->assertEquals($federationXmlname, $federation->xml_name); - $this->assertEquals($federationFilters, $federation->filters); $this->assertEquals(0, $federation->approved); $this->assertEquals(0, $federation->active); $this->assertNull($federation->deleted_at); @@ -367,8 +364,7 @@ public function a_user_with_operator_permission_can_see_federations_edit_page() ->assertSee($federation->name) ->assertSee($federation->description) ->assertSee($federation->xml_id) - ->assertSee($federation->xml_name) - ->assertSee($federation->filters); + ->assertSee($federation->xml_name); $this->assertEquals(1, Federation::count()); $this->assertEquals(route('federations.edit', $federation), url()->current()); @@ -818,10 +814,7 @@ public function an_admin_is_shown_a_federations_details() ->assertSeeText($federation->name) ->assertSeeText($federation->description) ->assertSeeText($federation->xml_id) - ->assertSeeText($federation->xml_name) - ->assertSeeText($federation->tagfile) - ->assertSeeText($federation->cfgfile) - ->assertSeeText($federation->filters); + ->assertSeeText($federation->xml_name); $this->assertEquals(1, Federation::count()); $this->assertEquals(route('federations.show', $federation), url()->current()); @@ -864,11 +857,8 @@ public function an_admin_can_add_a_new_federation() $federation = Federation::first(); $this->assertEquals($federationName, $federation->name); $this->assertEquals($federationDescription, $federation->description); - $this->assertEquals($federationTagfile, $federation->tagfile); - $this->assertEquals($federationCfgfile, $federation->cfgfile); $this->assertEquals($federationXmlid, $federation->xml_id); $this->assertEquals($federationXmlname, $federation->xml_name); - $this->assertEquals($federationFilters, $federation->filters); $this->assertEquals(0, $federation->approved); $this->assertEquals(0, $federation->active); $this->assertNull($federation->deleted_at); @@ -889,8 +879,7 @@ public function an_admin_can_see_federations_edit_page() ->assertSee($federation->name) ->assertSee($federation->description) ->assertSee($federation->xml_id) - ->assertSee($federation->xml_name) - ->assertSee($federation->filters); + ->assertSee($federation->xml_name); $this->assertEquals(1, Federation::count()); $this->assertEquals(route('federations.edit', $federation), url()->current()); @@ -945,7 +934,6 @@ public function an_admin_can_edit_an_existing_federation() $this->assertEquals($federationDescription, $federation->description); $this->assertEquals($federationXmlId, $federation->xml_id); $this->assertEquals($federationXmlName, $federation->xml_name); - $this->assertEquals($federationFilters, $federation->filters); $this->assertEquals(1, Federation::count()); $this->assertEquals(route('federations.show', $federation), url()->current()); } @@ -1244,10 +1232,7 @@ public function not_even_an_admin_can_run_update_function_without_definig_action ->assertSeeText($federation->name) ->assertSeeText($federation->description) ->assertSeeText($federation->xml_id) - ->assertSeeText($federation->xml_name) - ->assertSeeText($federation->tagfile) - ->assertSeeText($federation->cfgfile) - ->assertSeeText($federation->filters); + ->assertSeeText($federation->xml_name); $this->assertEquals(route('federations.show', $federation), url()->current()); }