Skip to content

Commit

Permalink
fixup test
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Oct 11, 2024
1 parent 6c1e42c commit a12619e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ default:
value: 'Events that have occurred'
su_list_view:
-
target_id: stanford_events
target_id: sul_events
display_id: past_events_list_block
arguments: ''
items_to_display: ''
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ default:
value: "Events"
su_list_view:
-
target_id: stanford_events
target_id: sul_events
display_id: list_page
arguments: ''
items_to_display: ''
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public function testEmptyResultsListEvents(AcceptanceTester $I) {
$paragraph = $I->createEntity([
'type' => 'stanford_lists',
'su_list_view' => [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
],
Expand Down Expand Up @@ -308,7 +308,7 @@ public function testEmptyResultsListEvents(AcceptanceTester $I) {
$paragraph = $I->createEntity([
'type' => 'stanford_lists',
'su_list_view' => [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
],
Expand Down Expand Up @@ -340,7 +340,7 @@ public function testEmptyResultsListEvents(AcceptanceTester $I) {
$paragraph = $I->createEntity([
'type' => 'stanford_lists',
'su_list_view' => [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
],
Expand Down Expand Up @@ -417,7 +417,7 @@ public function testListParagraphEvents(AcceptanceTester $I) {
$I->click('Save');

$node = $this->getNodeWithList($I, [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
]);
Expand All @@ -429,7 +429,7 @@ public function testListParagraphEvents(AcceptanceTester $I) {
$I->canSee($event->label(), 'h3');

$node = $this->getNodeWithList($I, [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
'arguments' => str_replace(' ', '-', $audience->label()),
Expand All @@ -438,7 +438,7 @@ public function testListParagraphEvents(AcceptanceTester $I) {
$I->canSee($event->label(), 'h3');

$node = $this->getNodeWithList($I, [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
'arguments' => $type->label(),
Expand All @@ -447,7 +447,7 @@ public function testListParagraphEvents(AcceptanceTester $I) {
$I->canSee($event->label(), 'h3');

$node = $this->getNodeWithList($I, [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
'arguments' => "''/" . str_replace(' ', '-', $group->label()),
Expand All @@ -456,7 +456,7 @@ public function testListParagraphEvents(AcceptanceTester $I) {
$I->canSee($event->label(), 'h3');

$node = $this->getNodeWithList($I, [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
'arguments' => "''/''/" . str_replace(' ', '-', $subject->label()),
Expand All @@ -465,7 +465,7 @@ public function testListParagraphEvents(AcceptanceTester $I) {
$I->canSee($event->label(), 'h3');

$node = $this->getNodeWithList($I, [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
'arguments' => "''/''/''/" . str_replace(' ', '-', $keyword->label()),
Expand All @@ -478,7 +478,7 @@ public function testListParagraphEvents(AcceptanceTester $I) {
'vid' => 'stanford_event_types',
], 'taxonomy_term');
$node = $this->getNodeWithList($I, [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
'arguments' => str_replace(' ', '-', $type->label()),
Expand Down Expand Up @@ -521,7 +521,7 @@ public function testListParagraphEventFiltersNoFilter(AcceptanceTester $I) {
$I->canSee('has been updated');

$node = $this->getNodeWithList($I, [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
]);
Expand Down Expand Up @@ -555,7 +555,7 @@ public function testListParagraphEventFiltersRandomFilter(AcceptanceTester $I) {
$I->canSee('has been updated');

$node = $this->getNodeWithList($I, [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
'arguments' => $random_term->label(),
Expand Down Expand Up @@ -592,7 +592,7 @@ public function testListParagraphEventFiltersTypeFilter(AcceptanceTester $I) {
$I->canSee('has been updated');

$node = $this->getNodeWithList($I, [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
'arguments' => $event_type->label(),
Expand Down Expand Up @@ -629,7 +629,7 @@ public function testListParagraphEventFiltersAudienceFilter(AcceptanceTester $I)
$I->canSee('has been updated');

$node = $this->getNodeWithList($I, [
'target_id' => 'stanford_events',
'target_id' => 'sul_events',
'display_id' => 'list_page',
'items_to_display' => 100,
'arguments' => $event_audience->label(),
Expand Down

0 comments on commit a12619e

Please sign in to comment.