Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Admin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osuny
Admin
Commits
f207d002
Commit
f207d002
authored
1 year ago
by
Arnaud Levy
Browse files
Options
Downloads
Patches
Plain Diff
annotate
parent
0e81bcc2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/fixtures/communication/website/menus.yml
+30
-1
30 additions, 1 deletion
test/fixtures/communication/website/menus.yml
test/models/communication/website/connection_test.rb
+26
-0
26 additions, 0 deletions
test/models/communication/website/connection_test.rb
with
56 additions
and
1 deletion
test/fixtures/communication/website/menus.yml
+
30
−
1
View file @
f207d002
# == Schema Information
#
# Table name: communication_website_menus
#
# id :uuid not null, primary key
# github_path :text
# identifier :string
# title :string
# created_at :datetime not null
# updated_at :datetime not null
# communication_website_id :uuid not null, indexed
# language_id :uuid not null, indexed
# original_id :uuid indexed
# university_id :uuid not null, indexed
#
# Indexes
#
# idx_comm_website_menus_on_communication_website_id (communication_website_id)
# index_communication_website_menus_on_language_id (language_id)
# index_communication_website_menus_on_original_id (original_id)
# index_communication_website_menus_on_university_id (university_id)
#
# Foreign Keys
#
# fk_rails_2901ebb799 (original_id => communication_website_menus.id)
# fk_rails_4d43d36541 (language_id => languages.id)
# fk_rails_8d6227916e (university_id => universities.id)
# fk_rails_dcc7198fc5 (communication_website_id => communication_websites.id)
#
primary_menu
:
university
:
default_university
website: website_with_github
title: 'Menu principal'
language: fr
\ No newline at end of file
language: fr
This diff is collapsed.
Click to expand it.
test/models/communication/website/connection_test.rb
+
26
−
0
View file @
f207d002
# == Schema Information
#
# Table name: communication_website_connections
#
# id :uuid not null, primary key
# direct_source_type :string indexed => [direct_source_id]
# indirect_object_type :string not null, indexed => [indirect_object_id]
# created_at :datetime not null
# updated_at :datetime not null
# direct_source_id :uuid indexed => [direct_source_type]
# indirect_object_id :uuid not null, indexed => [indirect_object_type]
# university_id :uuid not null, indexed
# website_id :uuid not null, indexed
#
# Indexes
#
# index_communication_website_connections_on_object (indirect_object_type,indirect_object_id)
# index_communication_website_connections_on_source (direct_source_type,direct_source_id)
# index_communication_website_connections_on_university_id (university_id)
# index_communication_website_connections_on_website_id (website_id)
#
# Foreign Keys
#
# fk_rails_728034883b (website_id => communication_websites.id)
# fk_rails_bd1ac8383b (university_id => universities.id)
#
require
"test_helper"
# rails test test/models/communication/website/connection_test.rb
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment